Lines Matching refs:getLangOpts
137 const LangOptions &Lang = PP.getLangOpts(); in shouldWarnOnMacroDef()
149 const LangOptions &Lang = PP.getLangOpts(); in shouldWarnOnMacroUndef()
248 Diag(MacroNameTok, getLangOpts().MicrosoftExt in CheckMacroName()
597 return getLangOpts().CurrentModule.empty() in getModuleForLocation()
599 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation()
610 if (getLangOpts().ObjC) in getModuleHeaderToIncludeForDiagnostics()
908 if (getLangOpts().AsmPreprocessor) in HandleDirective()
981 if (getLangOpts().Modules) in HandleDirective()
986 if (getLangOpts().Modules) in HandleDirective()
997 if (getLangOpts().AsmPreprocessor) { in HandleDirective()
1545 assert(PP.getLangOpts().ObjC && "no import syntax available"); in diagnoseAutoModuleImport()
1877 if (ShouldEnter && File && SuggestedModule && getLangOpts().Modules && in HandleIncludeDirective()
1879 getLangOpts().CurrentModule, in HandleIncludeDirective()
1880 getLangOpts().ModuleName)) { in HandleIncludeDirective()
1885 if (checkModuleIsAvailable(getLangOpts(), getTargetInfo(), getDiagnostics(), in HandleIncludeDirective()
1904 if (getLangOpts().ObjC) in HandleIncludeDirective()
1955 getLangOpts().Modules, in HandleIncludeDirective()
2022 if (SkipHeader && getLangOpts().CompilingPCH && in HandleIncludeDirective()
2023 isForModuleBuilding(M, getLangOpts().CurrentModule, in HandleIncludeDirective()
2024 getLangOpts().ModuleName)) in HandleIncludeDirective()
2064 if (getLangOpts().CompilingPCH && in HandleIncludeDirective()
2065 isForModuleBuilding(M, getLangOpts().CurrentModule, in HandleIncludeDirective()
2066 getLangOpts().ModuleName)) in HandleIncludeDirective()
2464 if (getLangOpts().TraditionalCPP) { in ReadOptionalMacroParameterListAndBody()
2509 if (getLangOpts().AsmPreprocessor && Tok.isNot(tok::eod)) { in ReadOptionalMacroParameterListAndBody()
2569 !isConfigurationPattern(MacroNameTok, MI, getLangOpts())) { in HandleDefineDirective()
2608 if (getLangOpts().ObjC && in HandleDefineDirective()