reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
449 if (CI.getLangOpts().CurrentModule.empty()) { 450 CI.getDiagnostics().Report(diag::err_missing_module_name); 460 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); 461 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, 464 CI.getDiagnostics().Report(diag::err_missing_module) 465 << CI.getLangOpts().CurrentModule << ModuleMapFilename; 471 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(), 471 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(), 472 CI.getDiagnostics(), M)) 477 CI.getPreprocessor().setMainFileDir(M->Directory); 483 StringRef OriginalModuleMapName = CI.getFrontendOpts().OriginalModuleMap; 486 CI.getFileManager().getFile(OriginalModuleMapName, 489 CI.getDiagnostics().Report(diag::err_module_map_not_found) 493 if (*OriginalModuleMap != CI.getSourceManager().getFileEntryForID( 494 CI.getSourceManager().getMainFileID())) { 496 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap() 504 SourceManager &SourceMgr = CI.getSourceManager(); 506 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule,