14 using namespace clang;
15 using namespace arcmt;
55 bool emitPremigrationARCErrors)
57 PlistOut(plistOut), EmitPremigrationARCErros(emitPremigrationARCErrors) {
58 if (MigrateDir.empty())
CompilerInvocation & getInvocation()
DiagnosticConsumer * getClient()
bool BeginInvocation(CompilerInstance &CI) override
Callback before starting processing a single input, giving the opportunity to modify the CompilerInvo...
bool applyTransformations(CompilerInvocation &origCI, const FrontendInputFile &Input, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagClient)
Works similar to checkForManualIssues but instead of checking, it applies automatic modifications to ...
const FrontendInputFile & getCurrentInput() const
bool checkForManualIssues(CompilerInvocation &CI, const FrontendInputFile &Input, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagClient, bool emitPremigrationARCErrors=false, StringRef plistOut=StringRef())
Creates an AST with the provided CompilerInvocation but with these changes: -if a PCH/PTH is set...
DiagnosticsEngine & getDiagnostics() const
Get the current diagnostics engine.
CompilerInstance - Helper class for managing a single instance of the Clang compiler.
CheckAction(std::unique_ptr< FrontendAction > WrappedAction)
std::shared_ptr< PCHContainerOperations > getPCHContainerOperations() const
bool migrateWithTemporaryFiles(CompilerInvocation &origCI, const FrontendInputFile &Input, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagClient, StringRef outputDir, bool emitPremigrationARCErrors, StringRef plistOut)
Applies automatic modifications and produces temporary files and metadata into the outputDir path...
ModifyAction(std::unique_ptr< FrontendAction > WrappedAction)
void setIgnoreAllWarnings(bool Val)
When set to true, any unmapped warnings are ignored.
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...
MigrateAction(std::unique_ptr< FrontendAction > WrappedAction, StringRef migrateDir, StringRef plistOut, bool emitPremigrationARCErrors)