Home | History | Annotate | Download | only in ARCMigrate

Lines Matching refs:Unit

255   OwningPtr<ASTUnit> Unit(
257 if (!Unit)
263 ASTContext &Ctx = Unit->getASTContext();
267 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
275 Unit->getPreprocessor());
290 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
296 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());
297 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, ARCMTMacroLocs);
562 OwningPtr<ASTUnit> Unit(
565 if (!Unit)
567 Unit->setOwnsRemappedFileBuffers(false); // FileRemapper manages that.
572 ASTContext &Ctx = Unit->getASTContext();
576 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
587 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
590 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor());
592 Unit->getSema(), TA, ARCMTMacroLocs);
621 Unit->getFileManager().FixupRelativePath(filePath);