Lines Matching refs:ImportingInstance
1152 compileModuleImpl(CompilerInstance &ImportingInstance, SourceLocation ImportLoc, in compileModuleImpl() argument
1163 if (ImportingInstance.getModuleCache().isPCMFinal(ModuleFileName)) {
1164 ImportingInstance.getDiagnostics().Report(
1172 std::make_shared<CompilerInvocation>(ImportingInstance.getInvocation());
1192 ImportingInstance.getInvocation().getLangOpts().ModuleName;
1201 = ImportingInstance.getInvocation().getPreprocessorOpts();
1226 assert(ImportingInstance.getInvocation().getModuleHash() ==
1233 CompilerInstance Instance(ImportingInstance.getPCHContainerOperations(),
1234 &ImportingInstance.getModuleCache());
1239 ImportingInstance.getDiagnosticClient()),
1246 Instance.setFileManager(&ImportingInstance.getFileManager());
1248 Instance.createFileManager(&ImportingInstance.getVirtualFileSystem());
1256 ImportingInstance.getSourceManager().getModuleBuildStack());
1258 FullSourceLoc(ImportLoc, ImportingInstance.getSourceManager()));
1263 Instance.setModuleDepCollector(ImportingInstance.getModuleDepCollector());
1266 ImportingInstance.getDiagnostics().Report(ImportLoc,
1283 ImportingInstance.getDiagnostics().Report(ImportLoc,
1319 static bool compileModule(CompilerInstance &ImportingInstance, in compileModule() argument
1322 InputKind IK(getLanguageFromOptions(ImportingInstance.getLangOpts()), in compileModule()
1327 = ImportingInstance.getPreprocessor().getHeaderSearchInfo().getModuleMap(); in compileModule()
1335 *ModuleMapFile, ImportingInstance.getFileManager())) in compileModule()
1342 ImportingInstance, ImportLoc, Module->getTopLevelModuleName(), in compileModule()
1359 ImportingInstance, ImportLoc, Module->getTopLevelModuleName(), in compileModule()
1375 if (ImportingInstance.getFrontendOpts().GenerateGlobalModuleIndex) { in compileModule()
1376 ImportingInstance.setBuildGlobalModuleIndex(true); in compileModule()
1383 static bool readASTAfterCompileModule(CompilerInstance &ImportingInstance, in readASTAfterCompileModule() argument
1388 DiagnosticsEngine &Diags = ImportingInstance.getDiagnostics(); in readASTAfterCompileModule()
1396 ImportingInstance.getASTReader()->ReadAST( in readASTAfterCompileModule()
1418 static bool compileModuleAndReadASTImpl(CompilerInstance &ImportingInstance, in compileModuleAndReadASTImpl() argument
1423 if (!compileModule(ImportingInstance, ModuleNameLoc, Module, in compileModuleAndReadASTImpl()
1425 ImportingInstance.getDiagnostics().Report(ModuleNameLoc, in compileModuleAndReadASTImpl()
1431 return readASTAfterCompileModule(ImportingInstance, ImportLoc, ModuleNameLoc, in compileModuleAndReadASTImpl()
1445 CompilerInstance &ImportingInstance, SourceLocation ImportLoc, in compileModuleAndReadASTBehindLock() argument
1447 DiagnosticsEngine &Diags = ImportingInstance.getDiagnostics(); in compileModuleAndReadASTBehindLock()
1471 return compileModuleAndReadASTImpl(ImportingInstance, ImportLoc, in compileModuleAndReadASTBehindLock()
1498 if (readASTAfterCompileModule(ImportingInstance, ImportLoc, ModuleNameLoc, in compileModuleAndReadASTBehindLock()
1514 static bool compileModuleAndReadAST(CompilerInstance &ImportingInstance, in compileModuleAndReadAST() argument
1518 return ImportingInstance.getInvocation() in compileModuleAndReadAST()
1521 ? compileModuleAndReadASTBehindLock(ImportingInstance, ImportLoc, in compileModuleAndReadAST()
1524 : compileModuleAndReadASTImpl(ImportingInstance, ImportLoc, in compileModuleAndReadAST()