Lines Matching refs:getLangOpts
160 CI.getLangOpts().CurrentModule, SourceLocation(), /*AllowSearch*/false); in getCurrentModule()
263 new Lexer(MainFileID, *MainFileBuf, SourceMgr, CI.getLangOpts())); in ReadOriginalFileName()
281 if (Lexer::getSpelling(LineNoLoc, Buffer, SourceMgr, CI.getLangOpts()) in ReadOriginalFileName()
480 CI.getLangOpts().ModuleName + ".framework"); in loadModuleMapForModuleBuild()
491 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule()
503 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, SourceLocation(), in prepareToBuildModule()
507 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule()
513 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(), *M, in prepareToBuildModule()
554 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule()
570 HeaderContents, CI.getLangOpts(), M->IsExternC); in getInputBufferForModule()
572 CI.getLangOpts(), FileMgr, CI.getDiagnostics(), in getInputBufferForModule()
605 CI.getLangOpts().setCompilingModule(LangOptions::CMK_None); in BeginSourceFile()
638 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile()
668 AST->getLangOpts().CurrentModule, SourceLocation(), in BeginSourceFile()
704 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr); in BeginSourceFile()
714 PP.getLangOpts()); in BeginSourceFile()
767 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr); in BeginSourceFile()
801 CI.getPCHContainerReader(), CI.getLangOpts(), in BeginSourceFile()
823 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), in BeginSourceFile()
831 if (CI.getLangOpts().CPlusPlusModules && Input.getKind().isHeaderUnit() && in BeginSourceFile()
862 if (CI.getLangOpts().ModuleName.empty()) in BeginSourceFile()
863 CI.getLangOpts().ModuleName = std::string(FileName); in BeginSourceFile()
864 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile()
870 if (CI.getLangOpts().CPlusPlusModules && Input.getKind().isHeaderUnit() && in BeginSourceFile()
880 if (CI.getLangOpts().ModuleName.empty()) in BeginSourceFile()
881 CI.getLangOpts().ModuleName = std::string(PresumedInputFile); in BeginSourceFile()
882 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile()
888 CI.getLangOpts().setCompilingModule(LangOptions::CMK_ModuleMap); in BeginSourceFile()
974 } else if (CI.getLangOpts().Modules || in BeginSourceFile()
1005 if (CI.getLangOpts().Modules || !CI.hasASTContext() || in BeginSourceFile()
1020 if (CI.getLangOpts().Modules || !CI.hasASTContext() || in BeginSourceFile()
1024 PP.getLangOpts()); in BeginSourceFile()
1028 assert((!CI.getLangOpts().Modules || CI.getASTReader()) && in BeginSourceFile()
1055 if (CI.getLangOpts().HLSL && CI.hasASTContext()) { in BeginSourceFile()
1158 CI.getLangOpts().setCompilingModule(LangOptions::CMK_None); in EndSourceFile()