Home
last modified time | relevance | path

Searched refs:ConstexprSpecKind (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DDeclSpec.cpp590 const char *DeclSpec::getSpecifierName(ConstexprSpecKind C) { in getSpecifierName()
592 case ConstexprSpecKind::Unspecified: in getSpecifierName()
594 case ConstexprSpecKind::Constexpr: in getSpecifierName()
596 case ConstexprSpecKind::Consteval: in getSpecifierName()
598 case ConstexprSpecKind::Constinit: in getSpecifierName()
1091 bool DeclSpec::SetConstexprSpec(ConstexprSpecKind ConstexprKind, in SetConstexprSpec()
1094 if (getConstexprSpecifier() != ConstexprSpecKind::Unspecified) in SetConstexprSpec()
1363 if (getConstexprSpecifier() == ConstexprSpecKind::Constexpr) in Finish()
1365 else if (getConstexprSpecifier() == ConstexprSpecKind::Consteval) in Finish()
1367 else if (getConstexprSpecifier() == ConstexprSpecKind::Constinit) in Finish()
H A DSemaLambda.cpp364 ConstexprSpecKind ConstexprKind, in startLambdaDefinition()
1447 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion()
1448 : ConstexprSpecKind::Unspecified, in addFunctionPointerConversion()
1487 /*isInline=*/true, ConstexprSpecKind::Unspecified, in addFunctionPointerConversion()
1555 /*isInline=*/true, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in addBlockPointerConversion()
1919 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr()
1920 : ConstexprSpecKind::Unspecified); in BuildLambdaExpr()
H A DSemaDeclCXX.cpp7458 ? ConstexprSpecKind::Consteval in CheckExplicitlyDefaultedSpecialMember()
7459 : ConstexprSpecKind::Constexpr) in CheckExplicitlyDefaultedSpecialMember()
7460 : ConstexprSpecKind::Unspecified); in CheckExplicitlyDefaultedSpecialMember()
8556 FD->setConstexprKind(ConstexprSpecKind::Constexpr); in CheckExplicitlyDefaultedComparison()
13047 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDefaultConstructor()
13048 : ConstexprSpecKind::Unspecified); in DeclareImplicitDefaultConstructor()
13169 Constexpr ? BaseCtor->getConstexprKind() : ConstexprSpecKind::Unspecified, in findInheritingConstructor()
13326 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDestructor()
13327 : ConstexprSpecKind::Unspecified); in DeclareImplicitDestructor()
13963 Constexpr ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified, in DeclareImplicitCopyAssignment()
[all …]
H A DSemaDecl.cpp7183 case ConstexprSpecKind::Unspecified: in ActOnVariableDeclarator()
7186 case ConstexprSpecKind::Consteval: in ActOnVariableDeclarator()
7192 case ConstexprSpecKind::Constexpr: in ActOnVariableDeclarator()
7204 case ConstexprSpecKind::Constinit: in ActOnVariableDeclarator()
8498 ConstexprSpecKind::Unspecified, in CreateNewFunctionDecl()
8508 ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier(); in CreateNewFunctionDecl()
8509 if (ConstexprKind == ConstexprSpecKind::Constinit) { in CreateNewFunctionDecl()
8513 ConstexprKind = ConstexprSpecKind::Unspecified; in CreateNewFunctionDecl()
9218 ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier(); in ActOnFunctionDeclarator()
9219 if (ConstexprKind != ConstexprSpecKind::Unspecified) { in ActOnFunctionDeclarator()
[all …]
H A DSemaType.cpp5605 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
H A DSemaDeclAttr.cpp8466 ConstexprSpecKind::Unspecified, FD->getTrailingRequiresClause()); in DeclClonePragmaWeak()
H A DSemaOpenMP.cpp6645 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
6647 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Consteval; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
H A DSemaExpr.cpp19333 /*ConstexprKind*/ ConstexprSpecKind::Unspecified); in resolveDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DDeclSpec.h435 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()
H A DSema.h6589 ConstexprSpecKind ConstexprKind,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDecl.h1965 ConstexprSpecKind ConstexprKind,
2001 ConstexprSpecKind ConstexprKind = ConstexprSpecKind::Unspecified,
2014 ConstexprSpecKind ConstexprKind,
2253 return getConstexprKind() != ConstexprSpecKind::Unspecified; in isConstexpr()
2255 void setConstexprKind(ConstexprSpecKind CSK) { in setConstexprKind()
2258 ConstexprSpecKind getConstexprKind() const { in getConstexprKind()
2259 return static_cast<ConstexprSpecKind>(FunctionDeclBits.ConstexprKind); in getConstexprKind()
2262 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified()
2265 return getConstexprKind() == ConstexprSpecKind::Consteval; in isConsteval()
H A DDeclCXX.h1858 SC_None, false, ConstexprSpecKind::Unspecified), in CXXDeductionGuideDecl()
1953 bool isInline, ConstexprSpecKind ConstexprKind,
1967 bool isInline, ConstexprSpecKind ConstexprKind,
2415 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind,
2458 ConstexprSpecKind ConstexprKind,
2678 bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind,
2694 ConstexprSpecKind ConstexprKind,
2734 ConstexprSpecKind ConstexprKind, SourceLocation EndLocation,
2751 bool isInline, ExplicitSpecifier ES, ConstexprSpecKind ConstexprKind,
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSpecifiers.h32 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enum
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp2200 ConstexprSpecKind ConstexprKind, in Create()
2213 ConstexprSpecKind::Unspecified, SourceLocation(), nullptr); in CreateDeserialized()
2586 ConstexprSpecKind ConstexprKind, InheritedConstructor Inherited, in CXXConstructorDecl()
2613 ExplicitSpecifier(), false, false, ConstexprSpecKind::Unspecified, in CreateDeserialized()
2626 ConstexprSpecKind ConstexprKind, InheritedConstructor Inherited, in Create()
2754 false, false, ConstexprSpecKind::Unspecified, nullptr); in CreateDeserialized()
2760 bool isInline, bool isImplicitlyDeclared, ConstexprSpecKind ConstexprKind, in Create()
2787 false, ExplicitSpecifier(), ConstexprSpecKind::Unspecified, in CreateDeserialized()
2794 bool isInline, ExplicitSpecifier ES, ConstexprSpecKind ConstexprKind, in Create()
H A DDecl.cpp2848 ConstexprSpecKind ConstexprKind, in FunctionDecl()
4851 ConstexprSpecKind ConstexprKind, in Create()
4864 nullptr, SC_None, false, ConstexprSpecKind::Unspecified, nullptr); in CreateDeserialized()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExprCXX.cpp1213 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier()
1227 DS.SetConstexprSpec(ConstexprSpecKind::Consteval, ConstevalLoc, PrevSpec, in addConstevalToLambdaDeclSpecifier()
H A DParseDecl.cpp3765 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers()
3769 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Consteval, Loc, in ParseDeclarationSpecifiers()
3773 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constinit, Loc, in ParseDeclarationSpecifiers()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp883 FD->setConstexprKind(static_cast<ConstexprSpecKind>(Record.readInt())); in VisitFunctionDecl()