/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | NameSearchContext.cpp | 81 isConstexprSpecified ? ConstexprSpecKind::Constexpr in AddFunDecl() 82 : ConstexprSpecKind::Unspecified); in AddFunDecl()
|
/external/llvm-project/clang/lib/Sema/ |
D | DeclSpec.cpp | 589 const char *DeclSpec::getSpecifierName(ConstexprSpecKind C) { in getSpecifierName() 591 case ConstexprSpecKind::Unspecified: in getSpecifierName() 593 case ConstexprSpecKind::Constexpr: in getSpecifierName() 595 case ConstexprSpecKind::Consteval: in getSpecifierName() 597 case ConstexprSpecKind::Constinit: in getSpecifierName() 1089 bool DeclSpec::SetConstexprSpec(ConstexprSpecKind ConstexprKind, in SetConstexprSpec() 1092 if (getConstexprSpecifier() != ConstexprSpecKind::Unspecified) in SetConstexprSpec() 1361 if (getConstexprSpecifier() == ConstexprSpecKind::Constexpr) in Finish() 1363 else if (getConstexprSpecifier() == ConstexprSpecKind::Consteval) in Finish() 1365 else if (getConstexprSpecifier() == ConstexprSpecKind::Constinit) in Finish()
|
D | SemaLambda.cpp | 364 ConstexprSpecKind ConstexprKind, in startLambdaDefinition() 1444 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion() 1445 : ConstexprSpecKind::Unspecified, in addFunctionPointerConversion() 1484 /*isInline=*/true, ConstexprSpecKind::Unspecified, in addFunctionPointerConversion() 1552 /*isInline=*/true, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in addBlockPointerConversion() 1916 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr() 1917 : ConstexprSpecKind::Unspecified); in BuildLambdaExpr()
|
D | SemaDeclCXX.cpp | 7383 ? ConstexprSpecKind::Consteval in CheckExplicitlyDefaultedSpecialMember() 7384 : ConstexprSpecKind::Constexpr) in CheckExplicitlyDefaultedSpecialMember() 7385 : ConstexprSpecKind::Unspecified); in CheckExplicitlyDefaultedSpecialMember() 8477 FD->setConstexprKind(ConstexprSpecKind::Constexpr); in CheckExplicitlyDefaultedComparison() 12989 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDefaultConstructor() 12990 : ConstexprSpecKind::Unspecified); in DeclareImplicitDefaultConstructor() 13111 Constexpr ? BaseCtor->getConstexprKind() : ConstexprSpecKind::Unspecified, in findInheritingConstructor() 13268 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDestructor() 13269 : ConstexprSpecKind::Unspecified); in DeclareImplicitDestructor() 13905 Constexpr ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified, in DeclareImplicitCopyAssignment() [all …]
|
D | SemaDecl.cpp | 7156 case ConstexprSpecKind::Unspecified: in ActOnVariableDeclarator() 7159 case ConstexprSpecKind::Consteval: in ActOnVariableDeclarator() 7165 case ConstexprSpecKind::Constexpr: in ActOnVariableDeclarator() 7177 case ConstexprSpecKind::Constinit: in ActOnVariableDeclarator() 8437 ConstexprSpecKind::Unspecified, in CreateNewFunctionDecl() 8447 ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier(); in CreateNewFunctionDecl() 8448 if (ConstexprKind == ConstexprSpecKind::Constinit) { in CreateNewFunctionDecl() 8452 ConstexprKind = ConstexprSpecKind::Unspecified; in CreateNewFunctionDecl() 9131 ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier(); in ActOnFunctionDeclarator() 9132 if (ConstexprKind != ConstexprSpecKind::Unspecified) { in ActOnFunctionDeclarator() [all …]
|
D | SemaType.cpp | 5564 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
|
D | SemaDeclAttr.cpp | 8262 ConstexprSpecKind::Unspecified, FD->getTrailingRequiresClause()); in DeclClonePragmaWeak()
|
D | SemaOpenMP.cpp | 5911 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 5913 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
D | SemaExpr.cpp | 19087 /*ConstexprKind*/ ConstexprSpecKind::Unspecified); in resolveDecl()
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Specifiers.h | 32 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enum
|
/external/llvm-project/clang/include/clang/Sema/ |
D | DeclSpec.h | 435 static_cast<unsigned>(ConstexprSpecKind::Unspecified)), in DeclSpec() 542 static const char *getSpecifierName(ConstexprSpecKind C); 745 bool SetConstexprSpec(ConstexprSpecKind ConstexprKind, SourceLocation Loc, 754 ConstexprSpecKind getConstexprSpecifier() const { in getConstexprSpecifier() 755 return ConstexprSpecKind(ConstexprSpecifier); in getConstexprSpecifier() 760 return getConstexprSpecifier() != ConstexprSpecKind::Unspecified; in hasConstexprSpecifier() 764 ConstexprSpecifier = static_cast<unsigned>(ConstexprSpecKind::Unspecified); in ClearConstexprSpec()
|
D | Sema.h | 6442 ConstexprSpecKind ConstexprKind,
|
/external/llvm-project/clang/include/clang/AST/ |
D | Decl.h | 1945 ConstexprSpecKind ConstexprKind, 1981 ConstexprSpecKind ConstexprKind = ConstexprSpecKind::Unspecified, 1994 ConstexprSpecKind ConstexprKind, 2233 return getConstexprKind() != ConstexprSpecKind::Unspecified; in isConstexpr() 2235 void setConstexprKind(ConstexprSpecKind CSK) { in setConstexprKind() 2238 ConstexprSpecKind getConstexprKind() const { in getConstexprKind() 2239 return static_cast<ConstexprSpecKind>(FunctionDeclBits.ConstexprKind); in getConstexprKind() 2242 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified() 2245 return getConstexprKind() == ConstexprSpecKind::Consteval; in isConsteval()
|
D | DeclCXX.h | 1846 SC_None, false, ConstexprSpecKind::Unspecified), in CXXDeductionGuideDecl() 1933 bool isInline, ConstexprSpecKind ConstexprKind, 1947 bool isInline, ConstexprSpecKind ConstexprKind, 2394 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2437 ConstexprSpecKind ConstexprKind, 2657 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2673 ConstexprSpecKind ConstexprKind, 2713 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, 2730 bool isInline, ExplicitSpecifier ES, ConstexprSpecKind ConstexprKind,
|
/external/llvm-project/clang/lib/AST/ |
D | DeclCXX.cpp | 2180 ConstexprSpecKind ConstexprKind, in Create() 2193 ConstexprSpecKind::Unspecified, SourceLocation(), nullptr); in CreateDeserialized() 2567 ConstexprSpecKind ConstexprKind, InheritedConstructor Inherited, in CXXConstructorDecl() 2594 ExplicitSpecifier(), false, false, ConstexprSpecKind::Unspecified, in CreateDeserialized() 2607 ConstexprSpecKind ConstexprKind, InheritedConstructor Inherited, in Create() 2735 false, false, ConstexprSpecKind::Unspecified, nullptr); in CreateDeserialized() 2741 bool isInline, bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, in Create() 2768 false, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in CreateDeserialized() 2775 bool isInline, ExplicitSpecifier ES, ConstexprSpecKind ConstexprKind, in Create()
|
D | Decl.cpp | 2815 ConstexprSpecKind ConstexprKind, in FunctionDecl() 4819 ConstexprSpecKind ConstexprKind, in Create() 4832 nullptr, SC_None, false, ConstexprSpecKind::Unspecified, nullptr); in CreateDeserialized()
|
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
D | TypeSystemClang.cpp | 2049 ? ConstexprSpecKind::Constexpr in CreateFunctionDeclaration() 2050 : ConstexprSpecKind::Unspecified); in CreateFunctionDeclaration() 7437 cxx_dtor_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7449 cxx_ctor_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7475 cxx_method_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7488 cxx_conversion_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7501 cxx_method_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 1209 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier() 1223 DS.SetConstexprSpec(ConstexprSpecKind::Consteval, ConstevalLoc, PrevSpec, in addConstevalToLambdaDeclSpecifier()
|
D | ParseDecl.cpp | 3705 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers() 3709 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Consteval, Loc, in ParseDeclarationSpecifiers() 3713 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constinit, Loc, in ParseDeclarationSpecifiers()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 883 FD->setConstexprKind(static_cast<ConstexprSpecKind>(Record.readInt())); in VisitFunctionDecl()
|