Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/test/CXX/special/class.inhctor/
H A Dp2.cpp69 struct Constexpr { constexpr Constexpr(int) {} }; in Constexpr() struct
71 struct BothNonLiteral : NonLiteral, Constexpr { using Constexpr::Constexpr; }; // expected-note {{b…
77 Constexpr {
78 using Constexpr::Constexpr; // expected-note {{here}}
/llvm-project-15.0.7/libcxx/docs/Status/
H A DCxx14Papers.csv6 "`3469 <https://wg21.link/n3469>`__","LWG","Constexpr Library Additions: chrono, v3","Portland","|C…
7 "`3470 <https://wg21.link/n3470>`__","LWG","Constexpr Library Additions: containers, v2","Portland"…
8 "`3471 <https://wg21.link/n3471>`__","LWG","Constexpr Library Additions: utilities, v3","Portland",…
9 "`3302 <https://wg21.link/n3302>`__","LWG","Constexpr Library Additions: complex, v2","Portland","|…
28 "`3789 <https://wg21.link/n3789>`__","LWG","Constexpr Library Additions: functional","Chicago","|Co…
H A DCxx20Papers.csv8 "`P0415R1 <https://wg21.link/P0415R1>`__","LWG","Constexpr for ``std::complex``\ ","Albuquerque","|…
25 "`P0858R0 <https://wg21.link/P0858R0>`__","LWG","Constexpr iterator requirements","Jacksonville","|…
43 "`P0879R0 <https://wg21.link/P0879R0>`__","LWG","Constexpr for swap and swap related functions Also…
68 "`P1006R1 <https://wg21.link/P1006R1>`__","LWG","Constexpr in std::pointer_traits","San Diego","|Co…
112 "`P1065R2 <https://wg21.link/P1065R2>`__","LWG","Constexpr INVOKE","Cologne","|Complete|","12.0"
H A DCxx17Papers.csv40 "`P0031R0 <https://wg21.link/P0031R0>`__","LWG","A Proposal to Add Constexpr Modifiers to reverse_i…
78 "`P0426R1 <https://wg21.link/P0426R1>`__","LWG","Constexpr for ``std::char_traits``\ ","Issaquah","…
H A DCxx2bPapers.csv66 "`P2291R3 <https://wg21.link/P2291R3>`__","LWG","Add Constexpr Modifiers to Functions ``to_chars`` …
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSpecifiers.h32 enum class ConstexprSpecKind { Unspecified, Constexpr, Consteval, Constinit }; enumerator
38 Constexpr, enumerator
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DExtractFunction.cpp360 ConstexprSpecKind Constexpr = ConstexprSpecKind::Unspecified; member
421 switch (Constexpr) { in renderSpecifiers()
425 case ConstexprSpecKind::Constexpr: in renderSpecifiers()
767 ExtractedFunc.Constexpr = ExtZone.EnclosingFunction->getConstexprKind(); in getExtractedFunction()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DNameSearchContext.cpp83 isConstexprSpecified ? ConstexprSpecKind::Constexpr in AddFunDecl()
/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.decomp/
H A Dp4.cpp185 namespace Constexpr { namespace
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dconstexpr-instantiate.cpp102 namespace Constexpr { namespace
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp7550 MD->isConstexpr() && !Constexpr && in CheckExplicitlyDefaultedSpecialMember()
7738 bool Constexpr = true; member
7749 Constexpr &= R.Constexpr; in add()
8724 !Info.Constexpr) { in CheckExplicitlyDefaultedComparison()
13441 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDefaultConstructor()
13553 bool Constexpr = in findInheritingConstructor() local
13721 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitDestructor()
14359 Constexpr ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified, in DeclareImplicitCopyAssignment()
14693 Constexpr ? ConstexprSpecKind::Constexpr : ConstexprSpecKind::Unspecified, in DeclareImplicitMoveAssignment()
15072 Constexpr ? ConstexprSpecKind::Constexpr in DeclareImplicitCopyConstructor()
[all …]
H A DDeclSpec.cpp596 case ConstexprSpecKind::Constexpr: in getSpecifierName()
1371 if (getConstexprSpecifier() == ConstexprSpecKind::Constexpr) in Finish()
H A DSemaLambda.cpp1451 S.getLangOpts().CPlusPlus17 ? ConstexprSpecKind::Constexpr in addFunctionPointerConversion()
1925 ? ConstexprSpecKind::Constexpr in BuildLambdaExpr()
H A DSemaStmt.cpp903 StatementKind == IfStatementKind::Constexpr) { in ActOnIfStmt()
H A DSemaDecl.cpp7634 case ConstexprSpecKind::Constexpr: in ActOnVariableDeclarator()
9733 : ConstexprSpecKind::Constexpr); in ActOnFunctionDeclarator()
9746 NewFD->setConstexprKind(ConstexprSpecKind::Constexpr); in ActOnFunctionDeclarator()
H A DSemaType.cpp5740 if (D.getDeclSpec().getConstexprSpecifier() == ConstexprSpecKind::Constexpr && in GetFullTypeForDeclarator()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Ddeduced-return-type-cxx14.cpp292 namespace Constexpr { namespace
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DClass.h299 Constexpr = ConstexprValue | Inline, enumerator
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DAttrOrTypeDefGen.cpp261 auto *mnemonic = defCls.addStaticMethod<Method::Constexpr>( in emitParserPrinter()
H A DOpDefinitionsGen.cpp2760 auto *method = opClass.addStaticMethod<Method::Constexpr>( in genOpNameGetter()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseStmt.cpp1621 Kind = IfStatementKind::Constexpr; in ParseIfStatement()
H A DParseExprCXX.cpp1213 DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, ConstexprLoc, PrevSpec, in addConstexprToLambdaDeclSpecifier()
H A DParseDecl.cpp3920 isInvalid = DS.SetConstexprSpec(ConstexprSpecKind::Constexpr, Loc, in ParseDeclarationSpecifiers()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DStmt.h2127 return getStatementKind() == IfStatementKind::Constexpr; in isConstexpr()
H A DDecl.h2320 return getConstexprKind() == ConstexprSpecKind::Constexpr; in isConstexprSpecified()

12