Lines Matching refs:ImportingInstance

1138 compileModuleImpl(CompilerInstance &ImportingInstance, SourceLocation ImportLoc,  in compileModuleImpl()  argument
1149 if (ImportingInstance.getModuleCache().isPCMFinal(ModuleFileName)) {
1150 ImportingInstance.getDiagnostics().Report(
1158 std::make_shared<CompilerInvocation>(ImportingInstance.getInvocation());
1178 ImportingInstance.getInvocation().getLangOpts()->ModuleName;
1187 = ImportingInstance.getInvocation().getPreprocessorOpts();
1210 assert(ImportingInstance.getInvocation().getModuleHash() ==
1217 CompilerInstance Instance(ImportingInstance.getPCHContainerOperations(),
1218 &ImportingInstance.getModuleCache());
1223 ImportingInstance.getDiagnosticClient()),
1227 Instance.setFileManager(&ImportingInstance.getFileManager());
1229 Instance.createFileManager(&ImportingInstance.getVirtualFileSystem());
1237 ImportingInstance.getSourceManager().getModuleBuildStack());
1239 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager()));
1244 Instance.setModuleDepCollector(ImportingInstance.getModuleDepCollector());
1247 ImportingInstance.getDiagnostics().Report(ImportLoc,
1264 ImportingInstance.getDiagnostics().Report(ImportLoc,
1300 static bool compileModule(CompilerInstance &ImportingInstance, in compileModule() argument
1303 InputKind IK(getLanguageFromOptions(ImportingInstance.getLangOpts()), in compileModule()
1308 = ImportingInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in compileModule()
1316 *ModuleMapFile, ImportingInstance.getFileManager())) in compileModule()
1323 ImportingInstance, ImportLoc, Module->getTopLevelModuleName(), in compileModule()
1340 ImportingInstance, ImportLoc, Module->getTopLevelModuleName(), in compileModule()
1356 if (ImportingInstance.getFrontendOpts().GenerateGlobalModuleIndex) { in compileModule()
1357 ImportingInstance.setBuildGlobalModuleIndex(true); in compileModule()
1364 static bool readASTAfterCompileModule(CompilerInstance &ImportingInstance, in readASTAfterCompileModule() argument
1369 DiagnosticsEngine &Diags = ImportingInstance.getDiagnostics(); in readASTAfterCompileModule()
1377 ImportingInstance.getASTReader()->ReadAST( in readASTAfterCompileModule()
1399 static bool compileModuleAndReadASTImpl(CompilerInstance &ImportingInstance, in compileModuleAndReadASTImpl() argument
1404 if (!compileModule(ImportingInstance, ModuleNameLoc, Module, in compileModuleAndReadASTImpl()
1406 ImportingInstance.getDiagnostics().Report(ModuleNameLoc, in compileModuleAndReadASTImpl()
1412 return readASTAfterCompileModule(ImportingInstance, ImportLoc, ModuleNameLoc, in compileModuleAndReadASTImpl()
1426 CompilerInstance &ImportingInstance, SourceLocation ImportLoc, in compileModuleAndReadASTBehindLock() argument
1428 DiagnosticsEngine &Diags = ImportingInstance.getDiagnostics(); in compileModuleAndReadASTBehindLock()
1452 return compileModuleAndReadASTImpl(ImportingInstance, ImportLoc, in compileModuleAndReadASTBehindLock()
1479 if (readASTAfterCompileModule(ImportingInstance, ImportLoc, ModuleNameLoc, in compileModuleAndReadASTBehindLock()
1495 static bool compileModuleAndReadAST(CompilerInstance &ImportingInstance, in compileModuleAndReadAST() argument
1499 return ImportingInstance.getInvocation() in compileModuleAndReadAST()
1502 ? compileModuleAndReadASTBehindLock(ImportingInstance, ImportLoc, in compileModuleAndReadAST()
1505 : compileModuleAndReadASTImpl(ImportingInstance, ImportLoc, in compileModuleAndReadAST()