|
clang 23.0.0git
|
A static requirement that can be used in a requires-expression to check properties of types and expression. More...
#include "clang/AST/ExprConcepts.h"
Classes | |
| struct | SubstitutionDiagnostic |
Public Types | |
| enum | RequirementKind { RK_Type , RK_Simple , RK_Compound , RK_Nested } |
Public Member Functions | |
| 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 |
A static requirement that can be used in a requires-expression to check properties of types and expression.
Definition at line 170 of file ExprConcepts.h.
| Enumerator | |
|---|---|
| RK_Type | |
| RK_Simple | |
| RK_Compound | |
| RK_Nested | |
Definition at line 174 of file ExprConcepts.h.
|
inline |
Definition at line 194 of file ExprConcepts.h.
Referenced by clang::concepts::ExprRequirement::classof(), clang::concepts::NestedRequirement::classof(), clang::concepts::TypeRequirement::classof(), clang::concepts::ExprRequirement::ExprRequirement(), clang::concepts::ExprRequirement::ExprRequirement(), clang::concepts::NestedRequirement::NestedRequirement(), clang::concepts::NestedRequirement::NestedRequirement(), clang::concepts::NestedRequirement::NestedRequirement(), clang::concepts::TypeRequirement::TypeRequirement(), and clang::concepts::TypeRequirement::TypeRequirement().
|
inline |
Definition at line 220 of file ExprConcepts.h.
Referenced by clang::concepts::ExprRequirement::ExprRequirement(), clang::concepts::ExprRequirement::ExprRequirement(), clang::concepts::NestedRequirement::NestedRequirement(), clang::concepts::NestedRequirement::NestedRequirement(), and clang::concepts::TypeRequirement::TypeRequirement().
|
inline |
Definition at line 200 of file ExprConcepts.h.
Referenced by clang::ASTNodeImporter::import(), clang::ASTNodeImporter::ImportExprRequirement(), clang::concepts::ExprRequirement::isCompound(), and clang::concepts::ExprRequirement::isSimple().
|
inline |
Definition at line 215 of file ExprConcepts.h.
Referenced by clang::concepts::ExprRequirement::ExprRequirement().
|
inline |
Definition at line 202 of file ExprConcepts.h.
Referenced by diagnoseUnsatisfiedRequirement(), and diagnoseUnsatisfiedRequirement().
|
inline |
Definition at line 217 of file ExprConcepts.h.
|
inline |
Definition at line 214 of file ExprConcepts.h.
|
inline |
Definition at line 208 of file ExprConcepts.h.