Home
last modified time | relevance | path

Searched refs:Constexpr (Results 1 – 21 of 21) 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];
220 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, Constexpr];
226 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, Constexpr];
244 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, Constexpr];
256 let Attributes = [FunctionWithBuiltinPrefix, NoThrow, Const, Constexpr];
274 let Attributes = [NoThrow, Const, Constexpr];
280 let Attributes = [NoThrow, Const, Constexpr];
286 let Attributes = [NoThrow, Const, Constexpr];
292 let Attributes = [NoThrow, Const, Constexpr];
[all …]
H A DSpecifiers.h35 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enumerator
41 Constexpr, enumerator
H A DBuiltinsBase.td81 def Constexpr : Attribute<"E">;
82 // Builtin is immediate and must be constant evaluated. Implies Constexpr, and will only be support…
H A DBuiltinsX86_64.td116 let Attributes = [NoThrow, Constexpr] in {
129 let Features = "bmi", Attributes = [NoThrow, Const, Constexpr] in {
133 let Attributes = [NoThrow, Const, Constexpr] in {
138 let Features = "bmi2", Attributes = [NoThrow, Const, Constexpr] in {
144 let Features = "tbm", Attributes = [NoThrow, Const, Constexpr] in {
H A DBuiltinsX86.td833 let Attributes = [NoThrow, Constexpr] in {
843 let Features = "bmi", Attributes = [NoThrow, Const, Constexpr] in {
847 let Attributes = [NoThrow, Const, Constexpr] in {
854 let Features = "bmi2", Attributes = [NoThrow, Const, Constexpr] in {
860 let Features = "tbm", Attributes = [NoThrow, Const, Constexpr] in {
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFunction.cpp30 Constexpr = F->isConstexpr() || F->hasAttr<MSConstexprAttr>(); in Function()
52 Constexpr = false; in Function()
H A DFunction.h159 bool isConstexpr() const { return Constexpr; } in isConstexpr()
308 unsigned Constexpr : 1;
/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.cpp623 case ConstexprSpecKind::Constexpr: in getSpecifierName()
1389 getConstexprSpecifier() == ConstexprSpecKind::Constexpr) { in Finish()
1397 getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in Finish()
1433 if (getConstexprSpecifier() == ConstexprSpecKind::Constexpr) in Finish()
H A DSemaDeclCXX.cpp7892 bool Constexpr = defaultedSpecialMemberIsConstexpr(*this, RD, CSM, in CheckExplicitlyDefaultedSpecialMember() local
7903 Constexpr = true; in CheckExplicitlyDefaultedSpecialMember()
7908 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember()
7929 MD->setConstexprKind(Constexpr ? (MD->isConsteval() in CheckExplicitlyDefaultedSpecialMember()
7931 : ConstexprSpecKind::Constexpr) in CheckExplicitlyDefaultedSpecialMember()
8108 bool Constexpr = true; member
8119 Constexpr &= R.Constexpr; in add()
8310 R.Constexpr &= BestFD->isConstexpr(); in visitBinaryOperator()
9172 !Info.Constexpr) { in CheckExplicitlyDefaultedComparison()
9186 if (First && !FD->isConstexpr() && Info.Constexpr) in CheckExplicitlyDefaultedComparison()
[all …]
H A DSemaLambda.cpp1778 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion()
2302 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr()
H A DSemaDecl.cpp7928 case ConstexprSpecKind::Constexpr: in ActOnVariableDeclarator()
9365 ConstexprKind == ConstexprSpecKind::Constexpr)) { in CreateNewFunctionDecl()
10208 : ConstexprSpecKind::Constexpr); in ActOnFunctionDeclarator()
10218 NewFD->setConstexprKind(ConstexprSpecKind::Constexpr); in ActOnFunctionDeclarator()
H A DSemaStmt.cpp985 StatementKind == IfStatementKind::Constexpr) { in ActOnIfStmt()
H A DSemaType.cpp5586 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
H A DSemaOpenMP.cpp7044 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1613 Kind = IfStatementKind::Constexpr; in ParseIfStatement()
H A DParseExprCXX.cpp1161 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier()
H A DParseDecl.cpp4234 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h2456 return getStatementKind() == IfStatementKind::Constexpr;
H A DDecl.h2459 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2173 ? ConstexprSpecKind::Constexpr in CreateFunctionDeclaration()