| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | NameSearchContext.cpp | 81 isConstexprSpecified ? ConstexprSpecKind::Constexpr in AddFunDecl() 82 : ConstexprSpecKind::Unspecified); in AddFunDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 600 const char *DeclSpec::getSpecifierName(ConstexprSpecKind C) { in getSpecifierName() 602 case ConstexprSpecKind::Unspecified: in getSpecifierName() 604 case ConstexprSpecKind::Constexpr: in getSpecifierName() 606 case ConstexprSpecKind::Consteval: in getSpecifierName() 608 case ConstexprSpecKind::Constinit: in getSpecifierName() 1100 bool DeclSpec::SetConstexprSpec(ConstexprSpecKind ConstexprKind, in SetConstexprSpec() 1103 if (getConstexprSpecifier() != ConstexprSpecKind::Unspecified) in SetConstexprSpec() 1378 if (getConstexprSpecifier() == ConstexprSpecKind::Constexpr) in Finish() 1380 else if (getConstexprSpecifier() == ConstexprSpecKind::Consteval) in Finish() 1382 else if (getConstexprSpecifier() == ConstexprSpecKind::Constinit) in Finish()
|
| H A D | SemaLambda.cpp | 370 ArrayRef<ParmVarDecl *> Params, ConstexprSpecKind ConstexprKind, in startLambdaDefinition() 1487 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion() 1488 : ConstexprSpecKind::Unspecified, in addFunctionPointerConversion() 1532 /*isInline=*/true, ConstexprSpecKind::Unspecified, in addFunctionPointerConversion() 1603 /*isInline=*/true, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in addBlockPointerConversion() 1967 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr() 1968 : ConstexprSpecKind::Unspecified); in BuildLambdaExpr()
|
| H A D | HLSLExternalSemaSource.cpp | 169 ConstexprSpecKind::Unspecified); in addDefaultHandleConstructor() 250 MethodTy, TSInfo, SC_None, false, false, ConstexprSpecKind::Unspecified, in addArraySubscriptOperator()
|
| H A D | SemaDeclCXX.cpp | 7634 ? ConstexprSpecKind::Consteval in CheckExplicitlyDefaultedSpecialMember() 7635 : ConstexprSpecKind::Constexpr) in CheckExplicitlyDefaultedSpecialMember() 7636 : ConstexprSpecKind::Unspecified); in CheckExplicitlyDefaultedSpecialMember() 8826 FD->setConstexprKind(ConstexprSpecKind::Constexpr); in CheckExplicitlyDefaultedComparison() 13550 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDefaultConstructor() 13551 : ConstexprSpecKind::Unspecified); in DeclareImplicitDefaultConstructor() 13672 Constexpr ? BaseCtor->getConstexprKind() : ConstexprSpecKind::Unspecified, in findInheritingConstructor() 13830 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDestructor() 13831 : ConstexprSpecKind::Unspecified); in DeclareImplicitDestructor() 14470 Constexpr ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified, in DeclareImplicitCopyAssignment() [all …]
|
| H A D | SemaDecl.cpp | 7748 case ConstexprSpecKind::Unspecified: in ActOnVariableDeclarator() 7751 case ConstexprSpecKind::Consteval: in ActOnVariableDeclarator() 7757 case ConstexprSpecKind::Constexpr: in ActOnVariableDeclarator() 7768 case ConstexprSpecKind::Constinit: in ActOnVariableDeclarator() 9084 ConstexprSpecKind::Unspecified, in CreateNewFunctionDecl() 9094 ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier(); in CreateNewFunctionDecl() 9095 if (ConstexprKind == ConstexprSpecKind::Constinit) { in CreateNewFunctionDecl() 9099 ConstexprKind = ConstexprSpecKind::Unspecified; in CreateNewFunctionDecl() 9868 ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier(); in ActOnFunctionDeclarator() 9869 if (ConstexprKind != ConstexprSpecKind::Unspecified) { in ActOnFunctionDeclarator() [all …]
|
| H A D | SemaType.cpp | 5818 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
|
| H A D | SemaDeclAttr.cpp | 9508 FD->hasPrototype(), ConstexprSpecKind::Unspecified, in DeclClonePragmaWeak()
|
| H A D | SemaOpenMP.cpp | 7160 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope() 7162 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
| H A D | SemaExpr.cpp | 20810 /*ConstexprKind*/ ConstexprSpecKind::Unspecified); in resolveDecl()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | Specifiers.h | 32 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enum
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 1907 SC_None, false, false, ConstexprSpecKind::Unspecified), in CXXDeductionGuideDecl() 2003 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, 2016 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, 2464 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2507 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2727 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, 2742 ConstexprSpecKind ConstexprKind, 2782 ExplicitSpecifier ES, ConstexprSpecKind ConstexprKind, 2801 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation,
|
| H A D | Decl.h | 2063 bool isInlineSpecified, ConstexprSpecKind ConstexprKind, 2099 ConstexprSpecKind ConstexprKind = ConstexprSpecKind::Unspecified, 2112 bool hasWrittenPrototype, ConstexprSpecKind ConstexprKind, 2368 return getConstexprKind() != ConstexprSpecKind::Unspecified; in isConstexpr() 2370 void setConstexprKind(ConstexprSpecKind CSK) { in setConstexprKind() 2373 ConstexprSpecKind getConstexprKind() const { in getConstexprKind() 2374 return static_cast<ConstexprSpecKind>(FunctionDeclBits.ConstexprKind); in getConstexprKind() 2377 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified() 2380 return getConstexprKind() == ConstexprSpecKind::Consteval; in isConsteval()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 455 static_cast<unsigned>(ConstexprSpecKind::Unspecified)), in DeclSpec() 562 static const char *getSpecifierName(ConstexprSpecKind C); 765 bool SetConstexprSpec(ConstexprSpecKind ConstexprKind, SourceLocation Loc, 777 ConstexprSpecKind getConstexprSpecifier() const { in getConstexprSpecifier() 778 return ConstexprSpecKind(ConstexprSpecifier); in getConstexprSpecifier() 783 return getConstexprSpecifier() != ConstexprSpecKind::Unspecified; in hasConstexprSpecifier() 787 ConstexprSpecifier = static_cast<unsigned>(ConstexprSpecKind::Unspecified); in ClearConstexprSpec()
|
| H A D | Sema.h | 7097 ConstexprSpecKind ConstexprKind, StorageClass SC,
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | DeclCXX.cpp | 2233 bool isInline, ConstexprSpecKind ConstexprKind, in Create() 2245 ConstexprSpecKind::Unspecified, SourceLocation(), nullptr); in CreateDeserialized() 2618 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, in CXXConstructorDecl() 2645 ExplicitSpecifier(), false, false, false, ConstexprSpecKind::Unspecified, in CreateDeserialized() 2658 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, in Create() 2785 false, false, false, ConstexprSpecKind::Unspecified, nullptr); in CreateDeserialized() 2792 ConstexprSpecKind ConstexprKind, Expr *TrailingRequiresClause) { in Create() 2817 false, false, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in CreateDeserialized() 2825 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation, in Create()
|
| H A D | Decl.cpp | 2969 ConstexprSpecKind ConstexprKind, in FunctionDecl() 5081 ConstexprSpecKind ConstexprKind, in Create() 5093 nullptr, SC_None, false, false, ConstexprSpecKind::Unspecified, nullptr); in CreateDeserialized()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 2195 ? ConstexprSpecKind::Constexpr in CreateFunctionDeclaration() 2196 : ConstexprSpecKind::Unspecified); in CreateFunctionDeclaration() 7734 cxx_dtor_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7746 cxx_ctor_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7772 cxx_method_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7785 cxx_conversion_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType() 7798 cxx_method_decl->setConstexprKind(ConstexprSpecKind::Unspecified); in AddMethodToCXXRecordType()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1229 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier() 1243 DS.SetConstexprSpec(ConstexprSpecKind::Consteval, ConstevalLoc, PrevSpec, in addConstevalToLambdaDeclSpecifier()
|
| H A D | ParseDecl.cpp | 3998 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers() 4002 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Consteval, Loc, in ParseDeclarationSpecifiers() 4006 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constinit, Loc, in ParseDeclarationSpecifiers()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReaderDecl.cpp | 1057 FD->setConstexprKind(static_cast<ConstexprSpecKind>(Record.readInt())); in VisitFunctionDecl()
|