| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | LangStandard.h | 57 CPlusPlus20 = (1 << 9), enumerator 119 bool isCPlusPlus20() const { return Flags & CPlusPlus20; } in isCPlusPlus20()
|
| H A D | LangStandards.def | 145 CPlusPlus20 | Digraphs | HexFloat) 151 CPlusPlus20 | Digraphs | HexFloat | GNUMode) 157 CPlusPlus20 | CPlusPlus2b | Digraphs | HexFloat) 162 CPlusPlus20 | CPlusPlus2b | Digraphs | HexFloat | GNUMode)
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | UseAnyOfAllOfCheck.cpp | 96 << getLangOpts().CPlusPlus20; in check() 103 << getLangOpts().CPlusPlus20; in check()
|
| H A D | ContainerContainsCheck.h | 32 return LO.CPlusPlus20; in isLanguageVersionSupported()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 135 if (LangOpts.CPlusPlus20 && (Flags & KEYCXX20)) return KS_Enabled; in getKeywordStatus() 155 if (LangOpts.CPlusPlus20 && (Flags & KEYCONCEPTS)) return KS_Enabled; in getKeywordStatus() 159 if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus20 && (Flags & CHAR8SUPPORT)) in getKeywordStatus() 279 LangOptsNoCPP.CPlusPlus20 = false; in isCPlusPlusKeyword()
|
| H A D | LangOptions.cpp | 111 Opts.CPlusPlus20 = Std.isCPlusPlus20(); in setLangDefaults()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | TokenConcatenation.cpp | 106 if (PP.getLangOpts().CPlusPlus20) in TokenConcatenation() 295 return PP.getLangOpts().CPlusPlus20 && FirstChar == '>'; in AvoidConcat()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/ |
| H A D | SIMDIntrinsicsCheck.cpp | 94 Std = getLangOpts().CPlusPlus20 ? "std" : "std::experimental"; in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/ |
| H A D | Token.cpp | 106 if (Opts.CPlusPlus20) in genericLangOpts()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 457 else if (LangOpts.CPlusPlus20) in InitializeStandardPredefinedMacros() 609 : LangOpts.CPlusPlus20 ? "201907L" in InitializeCPlusPlusFeatureTestMacros() 637 LangOpts.CPlusPlus20 ? "201803L" : "201304L"); in InitializeCPlusPlusFeatureTestMacros() 639 LangOpts.CPlusPlus20 ? "201707L" : "201304L"); in InitializeCPlusPlusFeatureTestMacros() 675 if (LangOpts.CPlusPlus20) { in InitializeCPlusPlusFeatureTestMacros()
|
| /llvm-project-15.0.7/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 199 else if (Opts.CPlusPlus20) in addVisualCDefines()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaStmtAttr.cpp | 278 if (!S.getLangOpts().CPlusPlus20 && A.isCXX11Attribute() && !A.getScopeName()) in handleLikely() 287 if (!S.getLangOpts().CPlusPlus20 && A.isCXX11Attribute() && !A.getScopeName()) in handleUnlikely()
|
| H A D | SemaDeclCXX.cpp | 805 getLangOpts().CPlusPlus20) in ActOnDecompositionDeclarator() 1768 if (getLangOpts().CPlusPlus20) { in CheckConstexprFunctionDefinition() 1983 SemaRef.getLangOpts().CPlusPlus20) in CheckConstexprCtorInitializer() 2255 SemaRef.getLangOpts().CPlusPlus20 in CheckConstexprFunctionBody() 6546 if (!getLangOpts().CPlusPlus20) in getDefaultedFunctionKind() 6555 if (!getLangOpts().CPlusPlus20) in getDefaultedFunctionKind() 7547 if ((getLangOpts().CPlusPlus20 || in CheckExplicitlyDefaultedSpecialMember() 12747 getLangOpts().CPlusPlus20 in CheckUsingDeclQualifier() 12890 return !getLangOpts().CPlusPlus20; in CheckUsingDeclQualifier() 17327 << getLangOpts().CPlusPlus20; in SetDeclDefaulted() [all …]
|
| H A D | SemaLambda.cpp | 807 Diag(EllipsisLoc, getLangOpts().CPlusPlus20 in buildLambdaInitCaptureInitialization() 1065 Diag(C->Loc, !getLangOpts().CPlusPlus20 in ActOnStartOfLambdaDefinition() 1844 if (getLangOpts().CPlusPlus20 && IsImplicit && in BuildLambdaExpr()
|
| H A D | SemaType.cpp | 2834 if (T.isVolatileQualified() && getLangOpts().CPlusPlus20) in CheckFunctionReturnType() 2928 if (ParamType.isVolatileQualified() && getLangOpts().CPlusPlus20) in BuildFunctionType() 3474 if (!SemaRef.getLangOpts().CPlusPlus20 || !Auto || in GetDeclSpecTypeForDeclarator() 3528 !SemaRef.getLangOpts().CPlusPlus20) in GetDeclSpecTypeForDeclarator() 5230 if (T.isVolatileQualified() && S.getLangOpts().CPlusPlus20) in GetFullTypeForDeclarator() 5746 if (T.isVolatileQualified() && S.getLangOpts().CPlusPlus20 && in GetFullTypeForDeclarator() 5772 (!LangOpts.CPlusPlus20 || !T->getContainedAutoType())) { in GetFullTypeForDeclarator() 9066 } else if (getLangOpts().CPlusPlus20 ? !RD->hasConstexprDestructor() in RequireLiteralType() 9076 if (getLangOpts().CPlusPlus20) { in RequireLiteralType()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseDefaultMemberInitCheck.cpp | 218 getLangOpts().CPlusPlus20 ? unless(anything()) : isBitField(), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | PreferMemberInitializerCheck.cpp | 183 (getLangOpts().CPlusPlus20 || !Field->isBitField()) && in check()
|
| H A D | ProTypeMemberInitCheck.cpp | 490 (!getLangOpts().CPlusPlus20 && F->isBitField())) in checkMissingMemberInitializer()
|
| /llvm-project-15.0.7/clang/lib/CrossTU/ |
| H A D | CrossTranslationUnit.cpp | 340 LangTo.CPlusPlus20 != LangFrom.CPlusPlus20) { in getCrossTUDefinitionImpl()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | StdLib.cpp | 51 if (LO.CPlusPlus20) in standardFromOpts()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | BasicValueFactory.cpp | 287 if (!Ctx.getLangOpts().CPlusPlus20) { in evalAPSInt()
|
| /llvm-project-15.0.7/clang/unittests/Analysis/ |
| H A D | MacroExpansionContextTest.cpp | 43 LangOpts.CPlusPlus20 = 1; // For __VA_OPT__ in MacroExpansionContextTest()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | Interp.cpp | 337 if (!S.getLangOpts().CPlusPlus20) { in CheckCallable()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 1221 getLangOpts().CPlusPlus20); in defaultedDefaultConstructorIsConstexpr() 1313 getLangOpts().CPlusPlus20; in defaultedDestructorIsConstexpr() 1411 return (LangOpts.CPlusPlus20 ? hasConstexprDestructor() in isLiteral()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 691 return getASTContext().getLangOpts().CPlusPlus20; in lambdaIsDefaultConstructibleAndAssignable() 807 if (getASTContext().getLangOpts().CPlusPlus20 in addedMember() 1310 !Context.getLangOpts().CPlusPlus20)) in addedMember()
|