clang: lib/ARCMigrate/ARCMT.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static bool HasARCRuntime (CompilerInvocation &origCI)
static CompilerInvocation * createInvocationForMigration (CompilerInvocation &origCI, const PCHContainerReader &PCHContainerRdr)
static void emitPremigrationErrors (const CapturedDiagList &arcDiags, DiagnosticOptions *diagOpts, Preprocessor &PP)
static bool applyTransforms (CompilerInvocation &origCI, const FrontendInputFile &Input, std::shared_ptr< PCHContainerOperations > PCHContainerOps, DiagnosticConsumer *DiagClient, StringRef outputDir, bool emitPremigrationARCErrors, StringRef plistOut)

applyTransforms()

Definition at line 337 of file ARCMT.cpp.

References clang::arcmt::MigrationProcess::applyTransform(), clang::arcmt::checkForManualIssues(), clang::arcmt::FileRemapper::flushToDisk(), clang::arcmt::getAllTransformations(), clang::CompilerInvocation::getDiagnosticOpts(), clang::CompilerInvocation::getFrontendOpts(), clang::CompilerInvocation::getLangOpts(), clang::CompilerInvocation::getMigratorOpts(), clang::arcmt::MigrationProcess::getRemapper(), clang::FrontendOptions::Inputs, clang::MigratorOptions::NoFinalizeRemoval, and clang::arcmt::FileRemapper::overwriteOriginal().

Referenced by clang::arcmt::applyTransformations(), and clang::arcmt::migrateWithTemporaryFiles().

createInvocationForMigration()

emitPremigrationErrors()

HasARCRuntime()