clang 20.0.0git
|
A requires-expression requirement which is satisfied when a general constraint expression is satisfied ('nested' requirements). More...
#include "clang/AST/ExprConcepts.h"
Public Member Functions | |
NestedRequirement (Expr *Constraint) | |
NestedRequirement (ASTContext &C, Expr *Constraint, const ConstraintSatisfaction &Satisfaction) | |
NestedRequirement (StringRef InvalidConstraintEntity, const ASTConstraintSatisfaction *Satisfaction) | |
NestedRequirement (ASTContext &C, StringRef InvalidConstraintEntity, const ConstraintSatisfaction &Satisfaction) | |
bool | hasInvalidConstraint () const |
StringRef | getInvalidConstraintEntity () |
Expr * | getConstraintExpr () const |
const ASTConstraintSatisfaction & | getConstraintSatisfaction () const |
Public Member Functions inherited from clang::concepts::Requirement | |
Requirement (RequirementKind Kind, bool IsDependent, bool ContainsUnexpandedParameterPack, bool IsSatisfied=true) | |
RequirementKind | getKind () const |
bool | isSatisfied () const |
void | setSatisfied (bool IsSatisfied) |
void | setDependent (bool IsDependent) |
bool | isDependent () const |
void | setContainsUnexpandedParameterPack (bool Contains) |
bool | containsUnexpandedParameterPack () const |
Static Public Member Functions | |
static bool | classof (const Requirement *R) |
Public Attributes | |
friend | ASTStmtReader |
friend | ASTStmtWriter |
Additional Inherited Members | |
Public Types inherited from clang::concepts::Requirement | |
enum | RequirementKind { RK_Type , RK_Simple , RK_Compound , RK_Nested } |
A requires-expression requirement which is satisfied when a general constraint expression is satisfied ('nested' requirements).
Definition at line 429 of file ExprConcepts.h.
|
inline |
Definition at line 439 of file ExprConcepts.h.
References clang::Expr::isInstantiationDependent().
|
inline |
Definition at line 448 of file ExprConcepts.h.
|
inline |
Definition at line 456 of file ExprConcepts.h.
|
inline |
Definition at line 465 of file ExprConcepts.h.
|
inlinestatic |
Definition at line 488 of file ExprConcepts.h.
References clang::concepts::Requirement::getKind(), and clang::concepts::Requirement::RK_Nested.
|
inline |
Definition at line 477 of file ExprConcepts.h.
References hasInvalidConstraint().
Referenced by clang::TreeTransform< Derived >::TransformNestedRequirement(), and clang::RecursiveASTVisitor< Derived >::TraverseConceptNestedRequirement().
|
inline |
Definition at line 484 of file ExprConcepts.h.
Referenced by diagnoseUnsatisfiedRequirement(), and clang::TreeTransform< Derived >::TransformNestedRequirement().
|
inline |
Definition at line 472 of file ExprConcepts.h.
References hasInvalidConstraint().
Referenced by diagnoseUnsatisfiedRequirement(), and clang::TreeTransform< Derived >::TransformNestedRequirement().
|
inline |
Definition at line 470 of file ExprConcepts.h.
Referenced by getConstraintExpr(), getInvalidConstraintEntity(), clang::TreeTransform< Derived >::TransformNestedRequirement(), and clang::RecursiveASTVisitor< Derived >::TraverseConceptNestedRequirement().
friend clang::concepts::NestedRequirement::ASTStmtReader |
Definition at line 436 of file ExprConcepts.h.
friend clang::concepts::NestedRequirement::ASTStmtWriter |
Definition at line 437 of file ExprConcepts.h.