clang 20.0.0git
|
#include "clang/AST/ExprConcepts.h"
Public Member Functions | |
ReturnTypeRequirement () | |
No return type requirement was specified. | |
ReturnTypeRequirement (SubstitutionDiagnostic *SubstDiag) | |
A return type requirement was specified but it was a substitution failure. | |
ReturnTypeRequirement (TemplateParameterList *TPL) | |
A 'type constraint' style return type requirement. | |
bool | isDependent () const |
bool | containsUnexpandedParameterPack () const |
bool | isEmpty () const |
bool | isSubstitutionFailure () const |
bool | isTypeConstraint () const |
SubstitutionDiagnostic * | getSubstitutionDiagnostic () const |
const TypeConstraint * | getTypeConstraint () const |
TemplateParameterList * | getTypeConstraintTemplateParameterList () const |
Public Attributes | |
friend | ASTStmtReader |
friend | ASTStmtWriter |
Definition at line 290 of file ExprConcepts.h.
|
inline |
No return type requirement was specified.
Definition at line 300 of file ExprConcepts.h.
|
inline |
A return type requirement was specified but it was a substitution failure.
Definition at line 304 of file ExprConcepts.h.
concepts::ExprRequirement::ReturnTypeRequirement::ReturnTypeRequirement | ( | TemplateParameterList * | TPL | ) |
A 'type constraint' style return type requirement.
TPL | an invented template parameter list containing a single type parameter with a type-constraint. |
Definition at line 1903 of file SemaConcept.cpp.
References clang::TemplateSpecializationType::anyInstantiationDependentTemplateArguments(), clang::Dependent, clang::TypeConstraint::getImmediatelyDeclaredConstraint(), clang::TemplateParameterList::getParam(), and clang::TemplateParameterList::size().
|
inline |
Definition at line 319 of file ExprConcepts.h.
References clang::TemplateParameterList::containsUnexpandedParameterPack(), getTypeConstraintTemplateParameterList(), and isTypeConstraint().
|
inline |
Definition at line 340 of file ExprConcepts.h.
References isSubstitutionFailure().
Referenced by diagnoseUnsatisfiedRequirement().
const TypeConstraint * concepts::ExprRequirement::ReturnTypeRequirement::getTypeConstraint | ( | ) | const |
Definition at line 98 of file ExprConcepts.cpp.
References isTypeConstraint().
|
inline |
Definition at line 347 of file ExprConcepts.h.
References isTypeConstraint().
Referenced by clang::Sema::BuildExprRequirement(), and containsUnexpandedParameterPack().
|
inline |
Definition at line 315 of file ExprConcepts.h.
Referenced by clang::Sema::BuildExprRequirement().
|
inline |
Definition at line 326 of file ExprConcepts.h.
Referenced by clang::concepts::ExprRequirement::ExprRequirement(), isSubstitutionFailure(), and isTypeConstraint().
|
inline |
Definition at line 330 of file ExprConcepts.h.
References isEmpty().
Referenced by clang::Sema::BuildExprRequirement(), and getSubstitutionDiagnostic().
|
inline |
Definition at line 335 of file ExprConcepts.h.
References isEmpty().
Referenced by clang::Sema::BuildExprRequirement(), containsUnexpandedParameterPack(), clang::concepts::ExprRequirement::ExprRequirement(), getTypeConstraint(), and getTypeConstraintTemplateParameterList().
friend clang::concepts::ExprRequirement::ReturnTypeRequirement::ASTStmtReader |
Definition at line 296 of file ExprConcepts.h.
friend clang::concepts::ExprRequirement::ReturnTypeRequirement::ASTStmtWriter |
Definition at line 297 of file ExprConcepts.h.