Home | History | Annotate | Download | only in ARCMigrate

Lines Matching refs:Unit

272   std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
274 if (!Unit) {
282 ASTContext &Ctx = Unit->getASTContext();
286 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
295 Unit->getPreprocessor());
310 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
316 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());
317 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags,
548 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction(
550 if (!Unit) {
554 Unit->setOwnsRemappedFileBuffers(false); // FileRemapper manages that.
561 ASTContext &Ctx = Unit->getASTContext();
565 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
577 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
580 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());
582 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs);
612 Unit->getFileManager().FixupRelativePath(filePath);