| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Builtins.td | 208 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 D | Specifiers.h | 35 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enumerator 41 Constexpr, enumerator
|
| H A D | BuiltinsBase.td | 81 def Constexpr : Attribute<"E">; 82 // Builtin is immediate and must be constant evaluated. Implies Constexpr, and will only be support…
|
| H A D | BuiltinsX86_64.td | 116 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 D | BuiltinsX86.td | 833 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 D | Function.cpp | 30 Constexpr = F->isConstexpr() || F->hasAttr<MSConstexprAttr>(); in Function() 52 Constexpr = false; in Function()
|
| H A D | Function.h | 159 bool isConstexpr() const { return Constexpr; } in isConstexpr() 308 unsigned Constexpr : 1;
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | NameSearchContext.cpp | 81 isConstexprSpecified ? ConstexprSpecKind::Constexpr in AddFunDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | DeclSpec.cpp | 623 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 D | SemaDeclCXX.cpp | 7892 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 D | SemaLambda.cpp | 1778 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion() 2302 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr()
|
| H A D | SemaDecl.cpp | 7928 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 D | SemaStmt.cpp | 985 StatementKind == IfStatementKind::Constexpr) { in ActOnIfStmt()
|
| H A D | SemaType.cpp | 5586 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
|
| H A D | SemaOpenMP.cpp | 7044 D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr; in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1613 Kind = IfStatementKind::Constexpr; in ParseIfStatement()
|
| H A D | ParseExprCXX.cpp | 1161 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier()
|
| H A D | ParseDecl.cpp | 4234 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Stmt.h | 2456 return getStatementKind() == IfStatementKind::Constexpr;
|
| H A D | Decl.h | 2459 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 2173 ? ConstexprSpecKind::Constexpr in CreateFunctionDeclaration()
|