| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | LangStandards.def | 157 CPlusPlus20 | Digraphs | HexFloat) 163 CPlusPlus20 | Digraphs | HexFloat | GNUMode) 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 | LangStandard.h | 59 CPlusPlus20 = (1 << 10), enumerator 125 bool isCPlusPlus20() const { return Flags & CPlusPlus20; } in isCPlusPlus20()
|
| H A D | Features.def | 353 EXTENSION(cxx_generalized_nttp, LangOpts.CPlusPlus20)
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | TokenConcatenation.cpp | 106 if (PP.getLangOpts().CPlusPlus20) in TokenConcatenation() 302 return PP.getLangOpts().CPlusPlus20 && FirstChar == '>'; in AvoidConcat()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 159 if (LangOpts.CPlusPlus20) in getKeywordStatusHelper() 182 if (LangOpts.CPlusPlus20) return KS_Unknown; in getKeywordStatusHelper() 391 LangOptsNoCPP.CPlusPlus20 = false; in isCPlusPlusKeyword()
|
| H A D | LangOptions.cpp | 122 Opts.CPlusPlus20 = Std.isCPlusPlus20(); in setLangDefaults()
|
| H A D | Builtins.cpp | 192 if (!LangOpts.CPlusPlus20 && strchr(AttributesStr.data(), 'G') != nullptr) in builtinIsSupported()
|
| H A D | Module.cpp | 105 .Case("cplusplus20", LangOpts.CPlusPlus20) in hasFeature()
|
| H A D | DiagnosticIDs.cpp | 811 if (LangOpts.CPlusPlus20) in getCXXCompatDiagId()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | InterpState.cpp | 118 return NoAllocationsLeft || !getLangOpts().CPlusPlus20; in maybeDiagnoseDanglingAllocations()
|
| H A D | Interp.cpp | 839 if (F->isVirtual() && !S.getLangOpts().CPlusPlus20) { in CheckCallable() 1015 if (S.getLangOpts().CPlusPlus20) in CheckDynamicMemoryAllocation() 1604 if (!S.getLangOpts().CPlusPlus20 && Overrider->isVirtual()) { in CallVirt()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 482 else if (LangOpts.CPlusPlus20) in InitializeStandardPredefinedMacros() 673 : LangOpts.CPlusPlus20 ? "202002L" in InitializeCPlusPlusFeatureTestMacros() 704 LangOpts.CPlusPlus20 ? "201803L" : "201304L"); in InitializeCPlusPlusFeatureTestMacros() 706 LangOpts.CPlusPlus20 ? "201707L" : "201304L"); in InitializeCPlusPlusFeatureTestMacros() 742 if (LangOpts.CPlusPlus20) { in InitializeCPlusPlusFeatureTestMacros()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 235 else if (Opts.CPlusPlus20) in addVisualCDefines()
|
| /freebsd/contrib/llvm-project/clang/lib/CrossTU/ |
| H A D | CrossTranslationUnit.cpp | 340 LangTo.CPlusPlus20 != LangFrom.CPlusPlus20) { in getCrossTUDefinitionImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BitwiseShiftChecker.cpp | 78 return PedanticFlag && !Ctx.getASTContext().getLangOpts().CPlusPlus20; in shouldPerformPedanticChecks()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAttr.cpp | 345 if (!S.getLangOpts().CPlusPlus20 && A.isCXX11Attribute() && !A.getScopeName()) in handleLikely() 354 if (!S.getLangOpts().CPlusPlus20 && A.isCXX11Attribute() && !A.getScopeName()) in handleUnlikely()
|
| H A D | SemaLambda.cpp | 821 Diag(EllipsisLoc, getLangOpts().CPlusPlus20 in buildLambdaInitCaptureInitialization() 1171 Diag(C->Loc, !getLangOpts().CPlusPlus20 in ActOnLambdaExpressionAfterIntroducer() 2221 if (getLangOpts().CPlusPlus20 && IsImplicit && in BuildLambdaExpr()
|
| H A D | SemaDeclCXX.cpp | 826 getLangOpts().CPlusPlus20) in ActOnDecompositionDeclarator() 1939 if (getLangOpts().CPlusPlus20) { in CheckConstexprFunctionDefinition() 2090 } else if (!SemaRef.getLangOpts().CPlusPlus20) { in CheckConstexprDeclStmt() 2146 SemaRef.getLangOpts().CPlusPlus20) in CheckConstexprCtorInitializer() 2173 } else if (!SemaRef.getLangOpts().CPlusPlus20) { in CheckConstexprCtorInitializer() 2374 if (!SemaRef.getLangOpts().CPlusPlus20) in CheckConstexprFunctionBody() 2403 (Cxx2aLoc.isValid() && !SemaRef.getLangOpts().CPlusPlus20) || in CheckConstexprFunctionBody() 2432 } else if (!SemaRef.getLangOpts().CPlusPlus20) { in CheckConstexprFunctionBody() 2570 if (!getLangOpts().CPlusPlus20 || !FD->isImmediateEscalating()) in CheckImmediateEscalatingFunctionDefinition() 4481 if (getLangOpts().MSVCCompat && !getLangOpts().CPlusPlus20) { in BuildMemInitializer() [all …]
|
| H A D | SemaType.cpp | 2569 if (T.isVolatileQualified() && getLangOpts().CPlusPlus20) in CheckFunctionReturnType() 2675 if (ParamType.isVolatileQualified() && getLangOpts().CPlusPlus20) in BuildFunctionType() 3218 if (!SemaRef.getLangOpts().CPlusPlus20 || !Auto || in GetDeclSpecTypeForDeclarator() 3284 !SemaRef.getLangOpts().CPlusPlus20) in GetDeclSpecTypeForDeclarator() 5062 if (T.isVolatileQualified() && S.getLangOpts().CPlusPlus20) in GetFullTypeForDeclarator() 5592 if (T.isVolatileQualified() && S.getLangOpts().CPlusPlus20 && in GetFullTypeForDeclarator() 5618 (!LangOpts.CPlusPlus20 || !T->getContainedAutoType())) { in GetFullTypeForDeclarator() 9600 } else if (getLangOpts().CPlusPlus20 ? !RD->hasConstexprDestructor() in RequireLiteralType() 9610 if (getLangOpts().CPlusPlus20) { in RequireLiteralType()
|
| H A D | SemaExpr.cpp | 1519 : getLangOpts().CPlusPlus20 in checkEnumArithmeticConversions() 1536 DiagID = getLangOpts().CPlusPlus20 in checkEnumArithmeticConversions() 1542 DiagID = getLangOpts().CPlusPlus20 in checkEnumArithmeticConversions() 1548 DiagID = getLangOpts().CPlusPlus20 in checkEnumArithmeticConversions() 1552 DiagID = getLangOpts().CPlusPlus20 in checkEnumArithmeticConversions() 2182 ? !getLangOpts().CPlusPlus20 && !getLangOpts().Char8 in ActOnStringLiteral() 4993 if (ArgExprs.size() == 1 && getLangOpts().CPlusPlus20) { in ActOnArraySubscriptExpr() 7324 Diag(FirstDesignator, getLangOpts().CPlusPlus20 in ActOnInitList() 11467 if (S.getLangOpts().isSignedOverflowDefined() || S.getLangOpts().CPlusPlus20) in DiagnoseBadShiftValues() 12075 : !S.getLangOpts().CPlusPlus20 || IsDeprArrayComparionIgnored in diagnoseTautologicalComparison() [all …]
|
| H A D | SemaCodeComplete.cpp | 1843 if (LangOpts.Char8 || LangOpts.CPlusPlus20) in AddTypeSpecifierResults() 1898 if (LangOpts.CPlusPlus20) in AddStorageSpecifiers() 1924 if (LangOpts.CPlusPlus20) in AddFunctionSpecifiers() 2202 if (SemaRef.getLangOpts().CPlusPlus20 && in AddOrdinaryNameResults() 2331 if (SemaRef.getLangOpts().CPlusPlus20 && in AddOrdinaryNameResults() 2348 if (SemaRef.getLangOpts().CPlusPlus20 && in AddOrdinaryNameResults() 2575 if (SemaRef.getLangOpts().CPlusPlus20) { in AddOrdinaryNameResults() 2803 if (SemaRef.getLangOpts().CPlusPlus20) { in AddOrdinaryNameResults() 7321 if (getLangOpts().CPlusPlus20 && in CodeCompleteAfterFunctionEquals()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionSourceCode.cpp | 276 Opts.CPlusPlus20 = true; in TokenVerifier()
|
| H A D | ClangExpressionParser.cpp | 404 cpp_lang_opts.CPlusPlus20 = true; in RemoveCppKeyword() 628 lang_opts.CPlusPlus20 = true; in SetupLangOpts()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 753 return getASTContext().getLangOpts().CPlusPlus20; in lambdaIsDefaultConstructibleAndAssignable() 872 if (getASTContext().getLangOpts().CPlusPlus20 in addedMember() 1429 !Context.getLangOpts().CPlusPlus20)) in addedMember() 1515 if (!(LangOpts.CPlusPlus20 ? hasConstexprDestructor() in isLiteral() 2275 !Context.getLangOpts().CPlusPlus20) { in completeDefinition()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CPlusPlusNameParser.cpp | 753 g_options.CPlusPlus20 = true; in GetLangOptions()
|