| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangStandard.h | 60 CPlusPlus23 = (1 << 11), enumerator 128 bool isCPlusPlus23() const { return Flags & CPlusPlus23; } in isCPlusPlus23()
|
| H A D | LangStandards.def | 169 CPlusPlus20 | CPlusPlus23 | Digraphs | HexFloat) 175 CPlusPlus20 | CPlusPlus23 | Digraphs | HexFloat | GNUMode) 181 CPlusPlus20 | CPlusPlus23 | CPlusPlus26 | Digraphs | HexFloat) 187 CPlusPlus20 | CPlusPlus23 | CPlusPlus26 | Digraphs | HexFloat | GNUMode)
|
| H A D | Features.def | 355 EXTENSION(cxx_explicit_this_parameter, LangOpts.CPlusPlus23)
|
| H A D | LangOptions.def | 57 LANGOPT(CPlusPlus23 , 1, 0, NotCompatible, "C++23")
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 233 else if (Opts.CPlusPlus23) in addVisualCDefines()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 123 Opts.CPlusPlus23 = Std.isCPlusPlus23(); in setLangDefaults()
|
| H A D | Module.cpp | 106 .Case("cplusplus23", LangOpts.CPlusPlus23) in hasFeature()
|
| H A D | DiagnosticIDs.cpp | 809 if (LangOpts.CPlusPlus23) in getCXXCompatDiagId()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 479 else if (LangOpts.CPlusPlus23) in InitializeStandardPredefinedMacros() 672 : LangOpts.CPlusPlus23 ? "202211L" in InitializeCPlusPlusFeatureTestMacros() 679 LangOpts.CPlusPlus23 ? "202211L" in InitializeCPlusPlusFeatureTestMacros() 757 if (LangOpts.CPlusPlus23) { in InitializeCPlusPlusFeatureTestMacros()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | PPDirectives.cpp | 482 if (LangOpts.C23 || LangOpts.CPlusPlus23) in SuggestTypoedDirective() 799 DiagID = LangOpts.CPlusPlus23 ? diag::warn_cxx23_compat_pp_directive in SkipExcludedConditionalBlock() 1369 Diag(Result, LangOpts.CPlusPlus23 in HandleDirective() 3576 DiagID = LangOpts.CPlusPlus23 ? diag::warn_cxx23_compat_pp_directive in HandleElifFamilyDirective()
|
| H A D | PPExpressions.cpp | 333 ? PP.getLangOpts().CPlusPlus23 in EvaluateValue()
|
| H A D | Lexer.cpp | 3394 if (Opts.CPlusPlus23) in DiagnoseDelimitedOrNamedEscapeSequence()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1139 P.Diag(StaticLoc, !P.getLangOpts().CPlusPlus23 in addStaticToLambdaDeclSpecifier() 1298 Diag(Tok, getLangOpts().CPlusPlus23 in ParseLambdaExpressionAfterIntroducer() 1354 if (HasSpecifiers && !HasParentheses && !getLangOpts().CPlusPlus23) { in ParseLambdaExpressionAfterIntroducer() 1864 Diag(DeclStart, !getLangOpts().CPlusPlus23 in ParseAliasDeclarationInInitStatement()
|
| H A D | ParseStmt.cpp | 1035 Diag(Tok, getLangOpts().CPlusPlus23 in DiagnoseLabelAtEndOfCompoundStatement() 1422 Diag(Tok, getLangOpts().CPlusPlus23 ? diag::warn_cxx20_compat_consteval_if in ParseIfStatement()
|
| H A D | ParseTentative.cpp | 1127 if (!getLangOpts().CPlusPlus23) in isCXXDeclarationSpecifier()
|
| H A D | ParseDecl.cpp | 2311 getLangOpts().CPlusPlus23); in ParseDeclGroup() 2314 if (getLangOpts().CPlusPlus23) { in ParseDeclGroup() 2329 getLangOpts().CPlusPlus23 || in ParseDeclGroup()
|
| H A D | ParseExpr.cpp | 1703 if (!getLangOpts().CPlusPlus23) { in ParsePostfixExpressionSuffix()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 1819 assert(!SemaRef.getLangOpts().CPlusPlus23 && in CheckConstexprDestructorSubobjects() 1852 assert(!SemaRef.getLangOpts().CPlusPlus23 && in CheckConstexprParameterTypes() 1875 assert(!SemaRef.getLangOpts().CPlusPlus23 && in CheckConstexprReturnType() 1962 if (!getLangOpts().CPlusPlus23 && in CheckConstexprFunctionDefinition() 1971 if (!getLangOpts().CPlusPlus23 && in CheckConstexprFunctionDefinition() 1981 if (!getLangOpts().CPlusPlus23 && in CheckConstexprFunctionDefinition() 2070 } else if (!SemaRef.getLangOpts().CPlusPlus23) { in CheckConstexprDeclStmt() 2074 if (SemaRef.LangOpts.CPlusPlus23) { in CheckConstexprDeclStmt() 2402 if ((Cxx2bLoc.isValid() && !SemaRef.getLangOpts().CPlusPlus23) || in CheckConstexprFunctionBody() 2553 if (SemaRef.getLangOpts().CPlusPlus23 && !IsVoidOrDependentType) in CheckConstexprMissingReturn() [all …]
|
| H A D | SemaStmtAttr.cpp | 777 if (!getLangOpts().CPlusPlus23 && in ActOnCXXAssumeAttr()
|
| H A D | SemaStmt.cpp | 2767 if (getLangOpts().CPlusPlus23 && !LifetimeExtendTemps.empty()) { in BuildCXXForRangeStmt() 3363 getLangOpts().CPlusPlus23))) { in getNamedReturnInfo() 3484 (!getLangOpts().CPlusPlus23 || SupressSimplerImplicitMoves) && in PerformMoveOrCopyInitialization() 3887 if (!E || !S.getLangOpts().CPlusPlus23 || !S.getLangOpts().MSVCCompat) in CheckSimplerImplicitMovesMSVCWorkaround()
|
| H A D | CheckExprLifetime.cpp | 1353 if (SemaRef.getLangOpts().CPlusPlus23 && InitEntity) { in checkExprLifetimeImpl()
|
| H A D | Sema.cpp | 2378 if (S.getLangOpts().CPlusPlus23) { in checkEscapingByref()
|
| H A D | TreeTransform.h | 9198 getSema().getLangOpts().CPlusPlus23); in TransformCXXForRangeStmt() 9201 if (getSema().getLangOpts().CPlusPlus23) { in TransformCXXForRangeStmt() 9216 assert(getSema().getLangOpts().CPlusPlus23 || in TransformCXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 408 C.getLangOpts().CPlusPlus23; in setBases() 561 getASTContext().getLangOpts().CPlusPlus23; in addedClassSubobject() 1391 Context.getLangOpts().CPlusPlus23; in addedMember()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Interp.cpp | 666 !(S.getLangOpts().CPlusPlus23 && VD->getType()->isReferenceType())) { in CheckInitialized() 1304 assert(!S.getLangOpts().CPlusPlus23); in CheckLiteralType()
|