/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 116 FrontendOpts.IncludeTimestamps, +CI.getLangOpts().CacheGeneratedPCH)); 158 CI.getLangOpts().CompilingPCH = true; 190 if (!CI.getLangOpts().Modules) { 210 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, 225 if (!CI.getLangOpts().ModulesTS && !CI.getLangOpts().CPlusPlusModules) { 230 CI.getLangOpts().setCompilingModule(LangOptions::CMK_ModuleInterface); 243 if (!CI.getLangOpts().Modules) { 283 CI.getLangOpts().setCompilingModule(LangOptions::CMK_HeaderModule); 300 HS.getModuleMap().createHeaderModule(CI.getLangOpts() [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExceptionSpec.cpp | 161 if (getLangOpts().MSVCCompat) { 179 if (getLangOpts().CPlusPlus17) 283 if (!getLangOpts().CXXExceptions && !getLangOpts().CPlusPlus17) 293 if (getLangOpts().MSVCCompat) { 318 if (getLangOpts().CPlusPlus11 && getLangOpts().CXXExceptions && 382 if (getLangOpts().MSVCCompat && ESI.Type != EST_DependentNoexcept) { 480 if (!getLangOpts().CXXExceptions) 484 if (getLangOpts() [all...] |
H A D | SemaType.cpp | 1348 if (S.getLangOpts().CPlusPlus14 && 1368 if (S.getLangOpts().ImplicitInt) { 1381 if (S.getLangOpts().CPlusPlus && !DS.isTypeSpecPipe()) { 1389 } else if ((S.getLangOpts().OpenCLVersion >= 200 || 1390 S.getLangOpts().OpenCLCPlusPlus) && 1412 if (!S.getLangOpts().C99) { 1413 if (S.getLangOpts().CPlusPlus) 1415 S.getLangOpts().CPlusPlus11 ? 1431 if (!S.getLangOpts().C99) { 1432 if (S.getLangOpts() [all...] |
H A D | SemaCXXScopeSpec.cpp | 180 assert(getLangOpts().CPlusPlus && "Only callable in C++"); 337 if (Context.getLangOpts().CPlusPlus11) 345 if (Context.getLangOpts().CPlusPlus11) 599 << IdInfo.Identifier << getLangOpts().CPlusPlus 609 << IdInfo.Identifier << getLangOpts().CPlusPlus; 617 if (Found.empty() && !ErrorRecoveryLookup && !getLangOpts().MSVCCompat) { 629 Name.getAsString() == Corrected.getAsString(getLangOpts()); 661 !getLangOpts().CPlusPlus11) { 797 if (getLangOpts().MSVCCompat) { 815 << Context.getTypeDeclType(TD) << getLangOpts() [all...] |
H A D | SemaExpr.cpp | 66 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && 146 if (S.getLangOpts().CPlusPlus) 213 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) { 287 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && 291 if (getLangOpts().CUDA && !CheckCUDACall(Loc, FD)) 445 else if (getLangOpts().CPlusPlus11) 501 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) 608 if (getLangOpts().CPlusPlus && 623 if (getLangOpts() [all...] |
H A D | SemaLookup.cpp | 298 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, 780 unsigned OpenCLVersion = Context.getLangOpts().OpenCLVersion; 781 if (Context.getLangOpts().OpenCLCPlusPlus) 839 if (!S.getLangOpts().OpenCLCPlusPlus) 865 if (getLangOpts().CPlusPlus && NameKind == Sema::LookupOrdinaryName) { 876 if (getLangOpts().OpenCL && getLangOpts().DeclareOpenCLBuiltins) { 889 if ((getLangOpts().CPlusPlus || getLangOpts().OpenCL) && 934 if (getLangOpts() [all...] |
H A D | Sema.cpp | 75 Policy.Bool = Context.getLangOpts().Bool; 148 FPFeatures(pp.getLangOpts()), LangOpts(pp.getLangOpts()), PP(pp), 184 if (getLangOpts().ObjC) 187 if (getLangOpts().CPlusPlus) 247 if (getLangOpts().ObjC) { 277 if (getLangOpts().MSVCCompat) { 278 if (getLangOpts().CPlusPlus && 288 if (getLangOpts().OpenCL) { 291 getOpenCLOptions().enableSupportedCore(getLangOpts()); [all...] |
H A D | DeclSpec.cpp | 600 if (S.getLangOpts().OpenCL && 606 if (S.getLangOpts().OpenCLVersion < 120 && 607 !S.getLangOpts().OpenCLCPlusPlus) { 626 if (TypeSpecType == TST_unspecified && S.getLangOpts().CPlusPlus) { 1138 !S.getLangOpts().ZVector) 1152 !S.getLangOpts().ZVector) 1157 if (S.getLangOpts().ZVector && 1162 if (S.getLangOpts().ZVector) 1237 if (!S.getLangOpts().CPlusPlus) 1278 if (S.getLangOpts() [all...] |
H A D | SemaAccess.cpp | 791 if (S.getLangOpts().MSVCCompat && !EC.Functions.empty()) 1421 if (S.getLangOpts().MSVCCompat && 1532 if (!getLangOpts().AccessControl || 1548 if (!getLangOpts().AccessControl || 1571 if (Found.getAccess() == AS_public || !getLangOpts().AccessControl) 1593 if (!getLangOpts().AccessControl) 1618 if (!getLangOpts().AccessControl || Found.getAccess() == AS_public) 1661 if (!getLangOpts().AccessControl || 1703 if (!getLangOpts().AccessControl || 1721 if (!getLangOpts() [all...] |
H A D | SemaCast.cpp | 142 assert(Self.getLangOpts().allowsNonTrivialObjCLifetimeQualifiers()); 247 if (getLangOpts().CPlusPlus) { 289 if (getLangOpts().OpenCLCPlusPlus) { 599 if (!CheckCVR && CheckObjCLifetime && !Self.Context.getLangOpts().ObjC) 848 if (!Self.getLangOpts().RTTI && !DestPointee->isVoidType()) { 1008 if (Self.getLangOpts().allowsNonTrivialObjCLifetimeQualifiers()) 1075 if (Self.getLangOpts().allowsNonTrivialObjCLifetimeQualifiers()) 1247 if (!CStyle && Self.getLangOpts().MSVCCompat && 1936 if (Self.getLangOpts().MicrosoftExt) { 1940 AttrTokens.push_back(II->isKeyword(Self.getLangOpts()) [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseTentative.cpp | 223 if (getLangOpts().ObjC && Tok.is(tok::less)) 487 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) { 590 (getLangOpts().CPlusPlus11 && 651 if (!Disambiguate && !getLangOpts().ObjC) 663 if (!getLangOpts().ObjC) { 863 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { 1337 if (!getLangOpts().ObjC && Next.is(tok::identifier)) 1356 if (getLangOpts().CPlusPlus17) { 1468 if (!getLangOpts().OpenCL) 1583 if (getLangOpts() [all...] |
H A D | ParseStmt.cpp | 209 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || 519 if (getLangOpts().Borland) { 532 if (getLangOpts().Borland) { 626 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) 1156 if (getLangOpts().CPlusPlus) 1301 Diag(Tok, getLangOpts().CPlusPlus17 ? diag::warn_cxx14_compat_constexpr_if 1313 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1463 bool C99orCXX = getLangOpts() [all...] |
H A D | ParseDeclCXX.cpp | 78 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { 79 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 158 } else if (getLangOpts().CPlusPlus2a) { 164 } else if (getLangOpts().CPlusPlus17) { 208 Diag(InlineLoc, getLangOpts().CPlusPlus11 ? 440 if (Tok.is(tok::r_brace) && getLangOpts().ModulesTS) { 621 if (getLangOpts().CPlusPlus11 && 645 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 ? 763 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 ? 786 Diag(Tok.getLocation(), getLangOpts() [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteMacros.cpp | 68 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 93 Rewrite.setSourceMgr(SM, PP.getLangOpts());
|
H A D | HTMLPrint.cpp | 56 R.setSourceMgr(context.getSourceManager(), context.getLangOpts());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPLexerChange.cpp | 646 if (!getLangOpts().ModulesLocalVisibility) { 714 if (getLangOpts().ModulesLocalVisibility) 718 return getLangOpts().isCompilingModule(); 734 (!getLangOpts().ModulesLocalVisibility && 735 LeavingMod->getTopLevelModuleName() != getLangOpts().CurrentModule)) { 764 if (getLangOpts().ModulesLocalVisibility) 805 if (!getLangOpts().ModulesLocalVisibility) { 823 if (getLangOpts().ModulesLocalVisibility)
|
H A D | TokenLexer.cpp | 147 if (!HasPasteOperator && !PP.getLangOpts().MSVCCompat) 155 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode 469 if (PP.getLangOpts().MSVCCompat && NumToks == 1 && 658 (PP.getLangOpts().MSVCCompat && 737 (PP.getLangOpts().MSVCCompat && 745 if (PP.getLangOpts().MicrosoftExt && (CurIdx >= 2) && 833 PP.getLangOpts(), ScratchBufStart, 858 if (PP.getLangOpts().MicrosoftExt && LHSTok.is(tok::slash) && 865 if (!PP.getLangOpts() [all...] |
H A D | PPDirectives.cpp | 143 const LangOptions &Lang = PP.getLangOpts(); 155 const LangOptions &Lang = PP.getLangOpts(); 254 Diag(MacroNameTok, getLangOpts().MicrosoftExt 643 return getLangOpts().CurrentModule.empty() 645 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); 661 if ((getLangOpts().ObjC || getLangOpts().CPlusPlusModules || 662 getLangOpts().ModulesTS) && 971 if (getLangOpts().AsmPreprocessor) 1044 if (getLangOpts() [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | State.cpp | 115 const LangOptions &State::getLangOpts() const { return getCtx().getLangOpts(); } function in class:State
|
H A D | State.h | 119 const LangOptions &getLangOpts() const;
|
/freebsd-11-stable/contrib/llvm-project/lldb/tools/lldb-instr/ |
H A D | Instrument.cpp | 149 MyRewriter.getLangOpts()); 183 PrintingPolicy Policy(Context.getLangOpts()); 243 MyRewriter.getLangOpts()); 337 MyRewriter.setSourceMgr(CI.getSourceManager(), CI.getLangOpts());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DebugCheckers.cpp | 162 cfg->viewCFG(mgr.getLangOpts()); 185 PrintingPolicy Policy(mgr.getLangOpts()); 191 cfg->dump(mgr.getLangOpts(),
|
H A D | DynamicTypeChecker.cpp | 77 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), 80 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), 110 const LangOptions &LangOpts = BRC.getASTContext().getLangOpts();
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 533 const LangOptions &Opts = D->getASTContext().getLangOpts(); 652 if (Context.getLangOpts().CPlusPlus && 734 ? Context.getLangOpts().getValueVisibilityMode() 735 : Context.getLangOpts().getTypeVisibilityMode(); 783 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Var) && 824 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Function)) { 906 if (Context.getLangOpts().OpenMP && Context.getLangOpts().OpenMPIsDevice) 1273 if (!Context.getLangOpts().CPlusPlus) 1308 ? Context.getLangOpts() [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 39 if (!Ctx.getLangOpts().ObjCWeakRuntime) 134 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc)) 137 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); 152 Ctx.getLangOpts(), 400 Pass.Ctx.getLangOpts(), 481 Pass.Ctx.getLangOpts(), 539 const LangOptions &LangOpts = pass.Ctx.getLangOpts();
|