| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | LangStandards.def | 121 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs) 126 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs | 132 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 138 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 144 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 150 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 156 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 161 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 185 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 205 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs) [all …]
|
| H A D | Features.def | 185 FEATURE(cxx_aggregate_nsdmi, LangOpts.CPlusPlus14) 186 FEATURE(cxx_binary_literals, LangOpts.CPlusPlus14) 187 FEATURE(cxx_contextual_conversions, LangOpts.CPlusPlus14) 188 FEATURE(cxx_decltype_auto, LangOpts.CPlusPlus14) 189 FEATURE(cxx_generic_lambdas, LangOpts.CPlusPlus14) 190 FEATURE(cxx_init_captures, LangOpts.CPlusPlus14) 191 FEATURE(cxx_relaxed_constexpr, LangOpts.CPlusPlus14) 192 FEATURE(cxx_return_type_deduction, LangOpts.CPlusPlus14) 193 FEATURE(cxx_variable_templates, LangOpts.CPlusPlus14)
|
| H A D | LangStandard.h | 55 CPlusPlus14 = (1 << 7), enumerator 113 bool isCPlusPlus14() const { return Flags & CPlusPlus14; } in isCPlusPlus14()
|
| H A D | LangOptions.def | 97 LANGOPT(CPlusPlus14 , 1, 0, "C++14")
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | AvoidBindCheck.h | 28 return LangOpts.CPlusPlus14; in isLanguageVersionSupported()
|
| H A D | UseTransparentFunctorsCheck.h | 26 return LangOpts.CPlusPlus14; in isLanguageVersionSupported()
|
| H A D | MakeUniqueCheck.cpp | 41 return RequireCPlusPlus14 ? LangOpts.CPlusPlus14 : LangOpts.CPlusPlus11; in isLanguageVersionSupported()
|
| /llvm-project-15.0.7/clang/lib/Basic/Targets/ |
| H A D | OSTargets.cpp | 203 else if (Opts.CPlusPlus14) in addVisualCDefines()
|
| /llvm-project-15.0.7/clang/lib/Basic/ |
| H A D | LangOptions.cpp | 109 Opts.CPlusPlus14 = Std.isCPlusPlus14(); in setLangDefaults()
|
| H A D | Module.cpp | 109 .Case("cplusplus14", LangOpts.CPlusPlus14) in hasFeature()
|
| /llvm-project-15.0.7/clang/lib/CrossTU/ |
| H A D | CrossTranslationUnit.cpp | 338 LangTo.CPlusPlus14 != LangFrom.CPlusPlus14 || in getCrossTUDefinitionImpl()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | StdLib.cpp | 55 if (LO.CPlusPlus14) in standardFromOpts()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 464 else if (LangOpts.CPlusPlus14) in InitializeStandardPredefinedMacros() 611 : LangOpts.CPlusPlus14 ? "201304L" in InitializeCPlusPlusFeatureTestMacros() 633 if (LangOpts.CPlusPlus14) { in InitializeCPlusPlusFeatureTestMacros()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Inclusions/ |
| H A D | HeaderIncludes.cpp | 25 LangOpts.CPlusPlus14 = 1; in createLangOpts()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CPlusPlusNameParser.cpp | 658 g_options.CPlusPlus14 = true; in GetLangOptions()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 701 assert((!isa<LambdaScopeInfo>(CSI) || !getLangOpts().CPlusPlus14) && in deduceClosureReturnType() 939 getLangOpts().CPlusPlus14 ? Context.getAutoDeductType() in ActOnStartOfLambdaDefinition() 1093 Diag(C->Loc, getLangOpts().CPlusPlus14 in ActOnStartOfLambdaDefinition()
|
| H A D | SemaDeclCXX.cpp | 1867 SemaRef.getLangOpts().CPlusPlus14 in CheckConstexprDeclStmt() 1871 } else if (!SemaRef.getLangOpts().CPlusPlus14) { in CheckConstexprDeclStmt() 1932 SemaRef.getLangOpts().CPlusPlus14 in CheckConstexprDeclStmt() 1936 } else if (!SemaRef.getLangOpts().CPlusPlus14) { in CheckConstexprDeclStmt() 2108 if (!SemaRef.getLangOpts().CPlusPlus14) in CheckConstexprFunctionStmt() 2261 SemaRef.getLangOpts().CPlusPlus14 in CheckConstexprFunctionBody() 2334 bool OK = SemaRef.getLangOpts().CPlusPlus14 && in CheckConstexprFunctionBody() 2351 if (!SemaRef.getLangOpts().CPlusPlus14) in CheckConstexprFunctionBody() 2360 SemaRef.getLangOpts().CPlusPlus14 in CheckConstexprFunctionBody() 2369 if (!SemaRef.getLangOpts().CPlusPlus14) in CheckConstexprFunctionBody() [all …]
|
| H A D | SemaType.cpp | 1322 if (S.getLangOpts().CPlusPlus14 && in ConvertDeclSpecToType() 2332 if (S.getLangOpts().CPlusPlus14 && in checkArraySize() 3486 if (!SemaRef.getLangOpts().CPlusPlus14 || !Auto || in GetDeclSpecTypeForDeclarator() 3553 if (!SemaRef.getLangOpts().CPlusPlus14 || !IsCXXAutoType) in GetDeclSpecTypeForDeclarator() 3558 if (!SemaRef.getLangOpts().CPlusPlus14 || !IsCXXAutoType) in GetDeclSpecTypeForDeclarator() 5069 if (!S.getLangOpts().CPlusPlus14) { in GetFullTypeForDeclarator()
|
| H A D | SemaOverload.cpp | 1242 if (!getLangOpts().CPlusPlus14 && NewMethod->isConstexpr() && in IsOverload() 6161 if (getLangOpts().CPlusPlus14) in PerformContextualImplicitConversion() 6168 assert((!ConvTemplate || getLangOpts().CPlusPlus14) && in PerformContextualImplicitConversion() 6181 if (!ConvTemplate && getLangOpts().CPlusPlus14) { in PerformContextualImplicitConversion() 6193 if (getLangOpts().CPlusPlus14) { in PerformContextualImplicitConversion() 7348 if (getLangOpts().CPlusPlus14 && ConvType->isUndeducedType()) { in AddConversionCandidate() 12019 if (S.getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && in completeFunctionType()
|
| H A D | SemaTemplateDeduction.cpp | 3592 if (S.getLangOpts().CPlusPlus14 && Fn->getReturnType()->isUndeducedType() && in GetTypeOfFunction() 4219 if (getLangOpts().CPlusPlus14 && IsAddressOfFunction && in DeduceTemplateArguments()
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1174 if (!LangOpts.CPlusPlus14) in isValidUDSuffix() 1288 Diags.Report(TokLoc, LangOpts.CPlusPlus14 in ParseNumberStartingWithZero()
|
| H A D | Lexer.cpp | 1894 if (C == '\'' && (LangOpts.CPlusPlus14 || LangOpts.C2x)) { in LexNumericConstant() 1959 else if (IsStringLiteral && LangOpts.CPlusPlus14) { in LexUDSuffix()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | CommentSema.cpp | 667 const bool DoubleSquareBracket = LO.CPlusPlus14 || LO.C2x; in checkDeprecatedCommand()
|
| H A D | ExprConstant.cpp | 3585 if (!Info.getLangOpts().CPlusPlus14) in mayAccessMutableMembers() 4005 if (Info.getLangOpts().CPlusPlus14 && LVal.Base == Info.EvaluatingDecl && in findCompleteObject() 4073 } else if (Info.getLangOpts().CPlusPlus14 && in findCompleteObject() 4213 if ((Frame && Info.getLangOpts().CPlusPlus14 && in findCompleteObject() 4321 if (!Info.getLangOpts().CPlusPlus14) { in handleAssignment() 4464 if (!Info.getLangOpts().CPlusPlus14) { in handleCompoundAssignment() 4608 if (!Info.getLangOpts().CPlusPlus14) { in handleIncDec() 7932 if (!Info.getLangOpts().CPlusPlus14 && !Info.keepEvaluatingAfterFailure()) in VisitUnaryPostIncDec() 8509 if (!Info.getLangOpts().CPlusPlus14 && !Info.keepEvaluatingAfterFailure()) in VisitUnaryPreIncDec() 8522 if (!Info.getLangOpts().CPlusPlus14 && !Info.keepEvaluatingAfterFailure()) in VisitCompoundAssignOperator() [all …]
|
| H A D | DeclCXX.cpp | 1090 if (!getASTContext().getLangOpts().CPlusPlus14) in addedMember()
|