| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 612 const char *DeclSpec::getSpecifierName(ConstexprSpecKind C) { in getSpecifierName() 614 case ConstexprSpecKind::Unspecified: in getSpecifierName() 616 case ConstexprSpecKind::Constexpr: in getSpecifierName() 618 case ConstexprSpecKind::Consteval: in getSpecifierName() 620 case ConstexprSpecKind::Constinit: in getSpecifierName() 1112 bool DeclSpec::SetConstexprSpec(ConstexprSpecKind ConstexprKind, in SetConstexprSpec() 1115 if (getConstexprSpecifier() != ConstexprSpecKind::Unspecified) in SetConstexprSpec() 1391 if (getConstexprSpecifier() == ConstexprSpecKind::Constexpr) in Finish() 1393 else if (getConstexprSpecifier() == ConstexprSpecKind::Consteval) in Finish() 1395 else if (getConstexprSpecifier() == ConstexprSpecKind::Constinit) in Finish()
|
| H A D | SemaLambda.cpp | 949 /*isInline=*/true, ConstexprSpecKind::Unspecified, SourceLocation(), in CreateLambdaCallOperator() 969 TypeSourceInfo *MethodTyInfo, ConstexprSpecKind ConstexprKind, in CompleteLambdaCallOperator() 1696 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion() 1697 : ConstexprSpecKind::Unspecified, in addFunctionPointerConversion() 1817 /*isInline=*/true, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in addBlockPointerConversion() 2186 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr() 2187 : ConstexprSpecKind::Unspecified); in BuildLambdaExpr()
|
| H A D | HLSLExternalSemaSource.cpp | 167 ConstexprSpecKind::Unspecified); in addDefaultHandleConstructor() 247 MethodTy, TSInfo, SC_None, false, false, ConstexprSpecKind::Unspecified, in addArraySubscriptOperator()
|
| H A D | SemaDeclCXX.cpp | 9112 FD->setConstexprKind(ConstexprSpecKind::Constexpr); in CheckExplicitlyDefaultedComparison() 13989 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDefaultConstructor() 13990 : ConstexprSpecKind::Unspecified); in DeclareImplicitDefaultConstructor() 14269 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDestructor() 14270 : ConstexprSpecKind::Unspecified); in DeclareImplicitDestructor() 14910 Constexpr ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified, in DeclareImplicitCopyAssignment() 15260 Constexpr ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified, in DeclareImplicitMoveAssignment() 15657 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitCopyConstructor() 15658 : ConstexprSpecKind::Unspecified); in DeclareImplicitCopyConstructor() 15799 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitMoveConstructor() [all …]
|
| H A D | SemaDecl.cpp | 7911 case ConstexprSpecKind::Unspecified: in ActOnVariableDeclarator() 7914 case ConstexprSpecKind::Consteval: in ActOnVariableDeclarator() 7920 case ConstexprSpecKind::Constexpr: in ActOnVariableDeclarator() 7931 case ConstexprSpecKind::Constinit: in ActOnVariableDeclarator() 9317 ConstexprSpecKind::Unspecified, in CreateNewFunctionDecl() 9328 if (ConstexprKind == ConstexprSpecKind::Constinit) { in CreateNewFunctionDecl() 9332 ConstexprKind = ConstexprSpecKind::Unspecified; in CreateNewFunctionDecl() 10140 if (ConstexprKind != ConstexprSpecKind::Unspecified) { in ActOnFunctionDeclarator() 10150 ConstexprKind == ConstexprSpecKind::Consteval)) { in ActOnFunctionDeclarator() 10160 if (ConstexprKind == ConstexprSpecKind::Consteval && in ActOnFunctionDeclarator() [all …]
|
| H A D | SemaType.cpp | 5969 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
|
| H A D | SemaDeclAttr.cpp | 10011 FD->hasPrototype(), ConstexprSpecKind::Unspecified, in DeclClonePragmaWeak()
|
| H A D | SemaOpenMP.cpp | 7311 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 7313 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
| H A D | SemaExpr.cpp | 21563 /*ConstexprKind*/ ConstexprSpecKind::Unspecified); in resolveDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Specifiers.h | 35 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enum
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 471 static_cast<unsigned>(ConstexprSpecKind::Unspecified)), in DeclSpec() 578 static const char *getSpecifierName(ConstexprSpecKind C); 781 bool SetConstexprSpec(ConstexprSpecKind ConstexprKind, SourceLocation Loc, 793 ConstexprSpecKind getConstexprSpecifier() const { in getConstexprSpecifier() 794 return ConstexprSpecKind(ConstexprSpecifier); in getConstexprSpecifier() 799 return getConstexprSpecifier() != ConstexprSpecKind::Unspecified; in hasConstexprSpecifier() 803 ConstexprSpecifier = static_cast<unsigned>(ConstexprSpecKind::Unspecified); in ClearConstexprSpec()
|
| H A D | Sema.h | 7265 TypeSourceInfo *MethodTyInfo, ConstexprSpecKind ConstexprKind,
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Decl.h | 2103 bool isInlineSpecified, ConstexprSpecKind ConstexprKind, 2139 ConstexprSpecKind ConstexprKind = ConstexprSpecKind::Unspecified, 2152 bool hasWrittenPrototype, ConstexprSpecKind ConstexprKind, 2408 return getConstexprKind() != ConstexprSpecKind::Unspecified; in isConstexpr() 2410 void setConstexprKind(ConstexprSpecKind CSK) { in setConstexprKind() 2413 ConstexprSpecKind getConstexprKind() const { in getConstexprKind() 2414 return static_cast<ConstexprSpecKind>(FunctionDeclBits.ConstexprKind); in getConstexprKind() 2417 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified() 2420 return getConstexprKind() == ConstexprSpecKind::Consteval; in isConsteval()
|
| H A D | DeclCXX.h | 1957 SC_None, false, false, ConstexprSpecKind::Unspecified), in CXXDeductionGuideDecl() 2061 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, 2074 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, 2541 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2584 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2804 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2819 ConstexprSpecKind ConstexprKind, 2859 ExplicitSpecifier ES, ConstexprSpecKind ConstexprKind, 2878 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation,
|
| H A D | DeclBase.h | 1757 LLVM_PREFERRED_TYPE(ConstexprSpecKind)
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 2274 bool isInline, ConstexprSpecKind ConstexprKind, in Create() 2286 ConstexprSpecKind::Unspecified, SourceLocation(), nullptr); in CreateDeserialized() 2672 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, in CXXConstructorDecl() 2699 ExplicitSpecifier(), false, false, false, ConstexprSpecKind::Unspecified, in CreateDeserialized() 2712 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, in Create() 2839 false, false, false, ConstexprSpecKind::Unspecified, nullptr); in CreateDeserialized() 2846 ConstexprSpecKind ConstexprKind, Expr *TrailingRequiresClause) { in Create() 2871 false, false, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in CreateDeserialized() 2879 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, in Create()
|
| H A D | Decl.cpp | 3032 ConstexprSpecKind ConstexprKind, in FunctionDecl() 5331 ConstexprSpecKind ConstexprKind, in Create() 5343 nullptr, SC_None, false, false, ConstexprSpecKind::Unspecified, nullptr); in CreateDeserialized()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 2202 ? ConstexprSpecKind::Constexpr in CreateFunctionDeclaration() 2203 : ConstexprSpecKind::Unspecified); in CreateFunctionDeclaration() 7609 cxx_dtor_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7621 cxx_ctor_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7647 cxx_method_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7660 cxx_conversion_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7673 cxx_method_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1230 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier() 1244 DS.SetConstexprSpec(ConstexprSpecKind::Consteval, ConstevalLoc, PrevSpec, in addConstevalToLambdaDeclSpecifier()
|
| H A D | ParseDecl.cpp | 4176 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers() 4180 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Consteval, Loc, in ParseDeclarationSpecifiers() 4184 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constinit, Loc, in ParseDeclarationSpecifiers()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1095 (ConstexprSpecKind)FunctionDeclBits.getNextBits(/*Width=*/2)); in VisitFunctionDecl()
|