| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 619 const char *DeclSpec::getSpecifierName(ConstexprSpecKind C) { in getSpecifierName() 621 case ConstexprSpecKind::Unspecified: in getSpecifierName() 623 case ConstexprSpecKind::Constexpr: in getSpecifierName() 625 case ConstexprSpecKind::Consteval: in getSpecifierName() 627 case ConstexprSpecKind::Constinit: in getSpecifierName() 1132 bool DeclSpec::SetConstexprSpec(ConstexprSpecKind ConstexprKind, in SetConstexprSpec() 1135 if (getConstexprSpecifier() != ConstexprSpecKind::Unspecified) in SetConstexprSpec() 1389 getConstexprSpecifier() == ConstexprSpecKind::Constexpr) { in Finish() 1397 getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in Finish() 1433 if (getConstexprSpecifier() == ConstexprSpecKind::Constexpr) in Finish() [all …]
|
| H A D | SemaLambda.cpp | 1012 /*isInline=*/true, ConstexprSpecKind::Unspecified, SourceLocation(), in CreateLambdaCallOperator() 1033 TypeSourceInfo *MethodTyInfo, ConstexprSpecKind ConstexprKind, in CompleteLambdaCallOperator() 1778 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion() 1779 : ConstexprSpecKind::Unspecified, in addFunctionPointerConversion() 1899 /*isInline=*/true, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in addBlockPointerConversion() 2302 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr() 2303 : ConstexprSpecKind::Unspecified); in BuildLambdaExpr()
|
| H A D | HLSLBuiltinTypeDeclBuilder.cpp | 394 ConstexprSpecKind::Unspecified); in createDecl() 399 ConstexprSpecKind::Unspecified, SourceLocation()); in createDecl()
|
| H A D | SemaDecl.cpp | 2315 ConstexprSpecKind ConstexprKind = ConstexprSpecKind::Unspecified; in CreateBuiltin() 2319 ConstexprKind = ConstexprSpecKind::Consteval; in CreateBuiltin() 7919 case ConstexprSpecKind::Unspecified: in ActOnVariableDeclarator() 7922 case ConstexprSpecKind::Consteval: in ActOnVariableDeclarator() 7928 case ConstexprSpecKind::Constexpr: in ActOnVariableDeclarator() 7939 case ConstexprSpecKind::Constinit: in ActOnVariableDeclarator() 9362 ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier(); in CreateNewFunctionDecl() 9363 if (ConstexprKind == ConstexprSpecKind::Constinit || in CreateNewFunctionDecl() 9365 ConstexprKind == ConstexprSpecKind::Constexpr)) { in CreateNewFunctionDecl() 9374 ConstexprKind = ConstexprSpecKind::Unspecified; in CreateNewFunctionDecl() [all …]
|
| H A D | SemaDeclCXX.cpp | 7930 ? ConstexprSpecKind::Consteval in CheckExplicitlyDefaultedSpecialMember() 7931 : ConstexprSpecKind::Constexpr) in CheckExplicitlyDefaultedSpecialMember() 7932 : ConstexprSpecKind::Unspecified); in CheckExplicitlyDefaultedSpecialMember() 9187 FD->setConstexprKind(ConstexprSpecKind::Constexpr); in CheckExplicitlyDefaultedComparison() 14148 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDefaultConstructor() 14149 : ConstexprSpecKind::Unspecified); in DeclareImplicitDefaultConstructor() 14274 Constexpr ? BaseCtor->getConstexprKind() : ConstexprSpecKind::Unspecified, in findInheritingConstructor() 14434 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDestructor() 14435 : ConstexprSpecKind::Unspecified); in DeclareImplicitDestructor() 15071 Constexpr ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified, in DeclareImplicitCopyAssignment() [all …]
|
| H A D | SemaDeclAttr.cpp | 8090 FD->hasPrototype(), ConstexprSpecKind::Unspecified, in DeclClonePragmaWeak()
|
| H A D | SemaType.cpp | 5586 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
|
| H A D | SemaOpenMP.cpp | 7044 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 7046 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
| H A D | SemaExpr.cpp | 21057 /*ConstexprKind*/ ConstexprSpecKind::Unspecified); in resolveDecl()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | NameSearchContext.cpp | 81 isConstexprSpecified ? ConstexprSpecKind::Constexpr in AddFunDecl() 82 : ConstexprSpecKind::Unspecified); in AddFunDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 406 LLVM_PREFERRED_TYPE(ConstexprSpecKind) in LLVM_PREFERRED_TYPE() argument 496 static_cast<unsigned>(ConstexprSpecKind::Unspecified)), in DeclSpec() 610 static const char *getSpecifierName(ConstexprSpecKind C); 817 bool SetConstexprSpec(ConstexprSpecKind ConstexprKind, SourceLocation Loc, 831 ConstexprSpecKind getConstexprSpecifier() const { in getConstexprSpecifier() 832 return ConstexprSpecKind(ConstexprSpecifier); in getConstexprSpecifier() 837 return getConstexprSpecifier() != ConstexprSpecKind::Unspecified; in hasConstexprSpecifier() 841 ConstexprSpecifier = static_cast<unsigned>(ConstexprSpecKind::Unspecified); in ClearConstexprSpec()
|
| H A D | Sema.h | 9041 ConstexprSpecKind ConstexprKind, StorageClass SC,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Specifiers.h | 35 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enum
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 1996 SC_None, false, false, ConstexprSpecKind::Unspecified, in CXXDeductionGuideDecl() 2132 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, 2145 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, 2612 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2656 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2876 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2891 ConstexprSpecKind ConstexprKind, 2936 ExplicitSpecifier ES, ConstexprSpecKind ConstexprKind, 2955 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation,
|
| H A D | Decl.h | 2136 bool isInlineSpecified, ConstexprSpecKind ConstexprKind, 2172 ConstexprSpecKind ConstexprKind = ConstexprSpecKind::Unspecified, 2185 bool hasWrittenPrototype, ConstexprSpecKind ConstexprKind, 2450 return getConstexprKind() != ConstexprSpecKind::Unspecified; in isConstexpr() 2452 void setConstexprKind(ConstexprSpecKind CSK) { in setConstexprKind() 2455 ConstexprSpecKind getConstexprKind() const { in getConstexprKind() 2456 return static_cast<ConstexprSpecKind>(FunctionDeclBits.ConstexprKind); in getConstexprKind() 2459 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified() 2462 return getConstexprKind() == ConstexprSpecKind::Consteval; in isConsteval()
|
| H A D | DeclBase.h | 1791 LLVM_PREFERRED_TYPE(ConstexprSpecKind)
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 2482 bool isInline, ConstexprSpecKind ConstexprKind, in Create() 2495 false, ConstexprSpecKind::Unspecified, SourceLocation(), in CreateDeserialized() 2924 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, in CXXConstructorDecl() 2952 ExplicitSpecifier(), false, false, false, ConstexprSpecKind::Unspecified, in CreateDeserialized() 2965 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, in Create() 3093 false, false, false, ConstexprSpecKind::Unspecified, in CreateDeserialized() 3101 ConstexprSpecKind ConstexprKind, in Create() 3149 false, false, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in CreateDeserialized() 3157 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, in Create()
|
| H A D | Decl.cpp | 3072 ConstexprSpecKind ConstexprKind, in FunctionDecl() 5507 ConstexprSpecKind ConstexprKind, in Create() 5519 nullptr, SC_None, false, false, ConstexprSpecKind::Unspecified, in CreateDeserialized()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 2173 ? ConstexprSpecKind::Constexpr in CreateFunctionDeclaration() 2174 : ConstexprSpecKind::Unspecified); in CreateFunctionDeclaration() 7718 cxx_dtor_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7730 cxx_ctor_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7756 cxx_method_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7770 cxx_conversion_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7783 cxx_method_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1161 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier() 1175 DS.SetConstexprSpec(ConstexprSpecKind::Consteval, ConstevalLoc, PrevSpec, in addConstevalToLambdaDeclSpecifier()
|
| H A D | ParseDecl.cpp | 4234 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers() 4238 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Consteval, Loc, in ParseDeclarationSpecifiers() 4242 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constinit, Loc, in ParseDeclarationSpecifiers()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1065 (ConstexprSpecKind)FunctionDeclBits.getNextBits(/*Width=*/2)); in VisitFunctionDecl()
|