Lines Matching refs:getLangOpts

146       CI.getLangOpts().CurrentModule, /*AllowSearch*/false);  in getCurrentModule()
241 new Lexer(MainFileID, *MainFileBuf, SourceMgr, CI.getLangOpts())); in ReadOriginalFileName()
259 if (Lexer::getSpelling(LineNoLoc, Buffer, SourceMgr, CI.getLangOpts()) in ReadOriginalFileName()
462 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule()
474 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, in prepareToBuildModule()
478 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule()
484 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(), in prepareToBuildModule()
519 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule()
534 HeaderContents, CI.getLangOpts(), M->IsExternC); in getInputBufferForModule()
536 CI.getLangOpts(), FileMgr, CI.getDiagnostics(), in getInputBufferForModule()
589 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile()
620 AST->getLangOpts().CurrentModule, /*AllowSearch*/ false); in BeginSourceFile()
655 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr); in BeginSourceFile()
665 PP.getLangOpts()); in BeginSourceFile()
708 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr); in BeginSourceFile()
741 CI.getLangOpts(), CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
762 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), in BeginSourceFile()
773 CI.getLangOpts().setCompilingModule(LangOptions::CMK_ModuleMap); in BeginSourceFile()
856 } else if (CI.getLangOpts().Modules || in BeginSourceFile()
887 if (CI.getLangOpts().Modules || !CI.hasASTContext() || in BeginSourceFile()
902 if (CI.getLangOpts().Modules || !CI.hasASTContext() || in BeginSourceFile()
906 PP.getLangOpts()); in BeginSourceFile()
910 assert((!CI.getLangOpts().Modules || CI.getASTReader()) && in BeginSourceFile()
938 CI.getLangOpts().setCompilingModule(LangOptions::CMK_None); in BeginSourceFile()
1028 CI.getLangOpts().setCompilingModule(LangOptions::CMK_None); in EndSourceFile()