Home | History | Annotate | Download | only in Sema

Lines Matching defs:Constexpr

4616     // C++0x [dcl.constexpr]p1: constexpr can only be applied to declarations
4618 // C++2a [dcl.constexpr]p1: The consteval specifier shall be applied only to
7192 case ConstexprSpecKind::Constexpr:
7195 // C++1z [dcl.spec.constexpr]p1:
7196 // A static data member declared with the constexpr specifier is
9220 // C++11 [dcl.constexpr]p2: constexpr functions and constexpr constructors
9224 // C++11 [dcl.constexpr]p3: functions declared constexpr are required to
9226 // destructors cannot be declared constexpr.
9234 : ConstexprSpecKind::Constexpr);
9236 // C++20 [dcl.constexpr]p2: An allocation function, or a
9247 NewFD->setConstexprKind(ConstexprSpecKind::Constexpr);
9596 // they may have different constexpr-ness compared to their
10818 // C++11 [dcl.constexpr]p8:
10819 // A constexpr specifier for a non-static member function that is not
11071 // constexpr is ill-formed.
12405 // with the constexpr specifier; if so, its declaration shall specify a
12412 // Allow any 'static constexpr
12413 // type. We separately check that every constexpr variable is of literal
12428 // In C++11, a non-constexpr const static data member with an
12454 // it anyway and provide a fixit to add the 'constexpr'.
12461 << FixItHint::CreateInsertion(VDecl->getBeginLoc(), "constexpr ");
12473 // Suggest adding 'constexpr' in C++11 for literal types.
12477 << FixItHint::CreateInsertion(VDecl->getBeginLoc(), "constexpr ");
12611 // the constexpr specifier; if so, its declaration shall specify
12613 // C++11 [dcl.constexpr]p1: The constexpr specifier shall be applied only to
13161 // later, such as which constexpr functions happen to be defined.
14320 // We can't delay parsing the body of a constexpr function template (yet).
14345 // constexpr, since we may need to evaluate its body in order to parse the