Home
last modified time | relevance | path

Searched refs:Constexpr (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltins.td208 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, Constexpr];
214 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, Constexpr];
232 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, Constexpr];
244 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, Constexpr];
262 let Attributes = [NoThrow, Const, Constexpr];
268 let Attributes = [NoThrow, Const, Constexpr];
274 let Attributes = [NoThrow, Const, Constexpr];
280 let Attributes = [NoThrow, Const, Constexpr];
300 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Pure, Constexpr];
306 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Pure, Constexpr];
[all …]
H A DSpecifiers.h35 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enumerator
41 Constexpr, enumerator
H A DBuiltinsBase.td72 def Constexpr : Attribute<"E">;
73 // Builtin is immediate and must be constant evaluated. Implies Constexpr, and will only be support…
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp81 isConstexprSpecified ? ConstexprSpecKind::Constexpr in AddFunDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DDeclSpec.cpp620 case ConstexprSpecKind::Constexpr: in getSpecifierName()
1385 getConstexprSpecifier() == ConstexprSpecKind::Constexpr) { in Finish()
1393 getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in Finish()
1425 if (getConstexprSpecifier() == ConstexprSpecKind::Constexpr) in Finish()
H A DSemaDeclCXX.cpp7724 bool Constexpr = defaultedSpecialMemberIsConstexpr(*this, RD, CSM, in CheckExplicitlyDefaultedSpecialMember() local
7735 Constexpr = true; in CheckExplicitlyDefaultedSpecialMember()
7740 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember()
7761 MD->setConstexprKind(Constexpr ? (MD->isConsteval() in CheckExplicitlyDefaultedSpecialMember()
7763 : ConstexprSpecKind::Constexpr) in CheckExplicitlyDefaultedSpecialMember()
7943 bool Constexpr = true; member
7954 Constexpr &= R.Constexpr; in add()
8145 R.Constexpr &= BestFD->isConstexpr(); in visitBinaryOperator()
8993 !Info.Constexpr) { in CheckExplicitlyDefaultedComparison()
13842 bool Constexpr = defaultedSpecialMemberIsConstexpr( DeclareImplicitDefaultConstructor() local
13973 bool Constexpr = BaseCtor->isConstexpr() && findInheritingConstructor() local
14128 bool Constexpr = defaultedSpecialMemberIsConstexpr( DeclareImplicitDestructor() local
14769 bool Constexpr = defaultedSpecialMemberIsConstexpr( DeclareImplicitCopyAssignment() local
15121 bool Constexpr = defaultedSpecialMemberIsConstexpr( DeclareImplicitMoveAssignment() local
15517 bool Constexpr = defaultedSpecialMemberIsConstexpr( DeclareImplicitCopyConstructor() local
15661 bool Constexpr = defaultedSpecialMemberIsConstexpr( DeclareImplicitMoveConstructor() local
[all...]
H A DSemaLambda.cpp1754 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion()
2244 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr()
H A DSemaDecl.cpp7746 case ConstexprSpecKind::Constexpr: in ActOnVariableDeclarator()
9145 ConstexprKind == ConstexprSpecKind::Constexpr)) { in CreateNewFunctionDecl()
9995 : ConstexprSpecKind::Constexpr); in ActOnFunctionDeclarator()
10008 NewFD->setConstexprKind(ConstexprSpecKind::Constexpr); in ActOnFunctionDeclarator()
H A DSemaStmt.cpp933 StatementKind == IfStatementKind::Constexpr) { in ActOnIfStmt()
H A DSemaType.cpp5546 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
H A DSemaOpenMP.cpp7096 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1710 Kind = IfStatementKind::Constexpr; in ParseIfStatement()
H A DParseExprCXX.cpp1304 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier()
H A DParseDecl.cpp4441 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h2405 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified()
H A DStmt.h2337 return getStatementKind() == IfStatementKind::Constexpr;
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2154 ? ConstexprSpecKind::Constexpr in CreateFunctionDeclaration()