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()
548 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule()
564 HeaderContents, CI.getLangOpts(), M->IsExternC); in getInputBufferForModule()
566 CI.getLangOpts(), FileMgr, CI.getDiagnostics(), in getInputBufferForModule()
599 CI.getLangOpts().setCompilingModule(LangOptions::CMK_None); in BeginSourceFile()
632 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile()
662 AST->getLangOpts().CurrentModule, SourceLocation(), in BeginSourceFile()
698 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr); in BeginSourceFile()
708 PP.getLangOpts()); in BeginSourceFile()
758 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr); in BeginSourceFile()
792 CI.getPCHContainerReader(), CI.getLangOpts(), in BeginSourceFile()
814 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), in BeginSourceFile()
822 if (CI.getLangOpts().CPlusPlusModules && Input.getKind().isHeaderUnit() && in BeginSourceFile()
853 if (CI.getLangOpts().ModuleName.empty()) in BeginSourceFile()
854 CI.getLangOpts().ModuleName = std::string(FileName); in BeginSourceFile()
855 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile()
861 if (CI.getLangOpts().CPlusPlusModules && Input.getKind().isHeaderUnit() && in BeginSourceFile()
871 if (CI.getLangOpts().ModuleName.empty()) in BeginSourceFile()
872 CI.getLangOpts().ModuleName = std::string(PresumedInputFile); in BeginSourceFile()
873 CI.getLangOpts().CurrentModule = CI.getLangOpts().ModuleName; in BeginSourceFile()
879 CI.getLangOpts().setCompilingModule(LangOptions::CMK_ModuleMap); in BeginSourceFile()
965 } else if (CI.getLangOpts().Modules || in BeginSourceFile()
996 if (CI.getLangOpts().Modules || !CI.hasASTContext() || in BeginSourceFile()
1011 if (CI.getLangOpts().Modules || !CI.hasASTContext() || in BeginSourceFile()
1015 PP.getLangOpts()); in BeginSourceFile()
1019 assert((!CI.getLangOpts().Modules || CI.getASTReader()) && in BeginSourceFile()
1046 if (CI.getLangOpts().HLSL && CI.hasASTContext()) { in BeginSourceFile()
1149 CI.getLangOpts().setCompilingModule(LangOptions::CMK_None); in EndSourceFile()