Lines Matching refs:Unit
269 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in checkForManualIssues() local
271 if (!Unit) { in checkForManualIssues()
279 ASTContext &Ctx = Unit->getASTContext(); in checkForManualIssues()
283 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues()
292 Unit->getPreprocessor()); in checkForManualIssues()
307 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues()
313 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in checkForManualIssues()
314 MigrationPass pass(Ctx, OrigGCMode, Unit->getSema(), testAct, capturedDiags, in checkForManualIssues()
547 std::unique_ptr<ASTUnit> Unit(ASTUnit::LoadFromCompilerInvocationAction( in applyTransform() local
549 if (!Unit) { in applyTransform()
553 Unit->setOwnsRemappedFileBuffers(false); // FileRemapper manages that. in applyTransform()
560 ASTContext &Ctx = Unit->getASTContext(); in applyTransform()
564 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform()
576 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform()
579 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in applyTransform()
581 Unit->getSema(), TA, capturedDiags, ARCMTMacroLocs); in applyTransform()
611 Unit->getFileManager().FixupRelativePath(filePath); in applyTransform()