10 #ifndef LLVM_CLANG_ARCMIGRATE_ARCMTACTIONS_H
11 #define LLVM_CLANG_ARCMIGRATE_ARCMTACTIONS_H
25 CheckAction(std::unique_ptr<FrontendAction> WrappedAction);
33 ModifyAction(std::unique_ptr<FrontendAction> WrappedAction);
41 StringRef InFile)
override;
45 std::string MigrateDir;
47 bool EmitPremigrationARCErros;
55 bool emitPremigrationARCErrors);
60 std::string MigrateDir;
61 unsigned ObjCMigAction;
66 StringRef migrateDir,
unsigned migrateAction);
70 StringRef InFile)
override;
bool BeginInvocation(CompilerInstance &CI) override
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvo...
std::unique_ptr< ASTConsumer > CreateASTConsumer(CompilerInstance &CI, StringRef InFile) override
Create the AST consumer object for this action, if supported.
bool BeginInvocation(CompilerInstance &CI) override
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvo...
Migrates to modern ObjC syntax.
bool BeginInvocation(CompilerInstance &CI) override
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvo...
std::unique_ptr< ASTConsumer > CreateASTConsumer(CompilerInstance &CI, StringRef InFile) override
Create the AST consumer object for this action, if supported.
CompilerInstance - Helper class for managing a single instance of the Clang compiler.
Abstract base class to use for AST consumer-based frontend actions.
CheckAction(std::unique_ptr< FrontendAction > WrappedAction)
ModifyAction(std::unique_ptr< FrontendAction > WrappedAction)
ObjCMigrateAction(std::unique_ptr< FrontendAction > WrappedAction, StringRef migrateDir, unsigned migrateAction)
A frontend action which simply wraps some other runtime-specified frontend action.
bool BeginInvocation(CompilerInstance &CI) override
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvo...
bool BeginInvocation(CompilerInstance &CI) override
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvo...
Defines the clang::FrontendAction interface and various convenience abstract classes (clang::ASTFront...
MigrateAction(std::unique_ptr< FrontendAction > WrappedAction, StringRef migrateDir, StringRef plistOut, bool emitPremigrationARCErrors)