class ExprRequirement::ReturnTypeRequirement
Declaration
class ExprRequirement::ReturnTypeRequirement { /* full declaration omitted */ };
Declared at: clang/include/clang/AST/ExprConcepts.h:270
Member Variables
- private llvm::PointerIntPair< llvm::PointerUnion<TemplateParameterList*, SubstitutionDiagnostic*>, 1, bool> TypeConstraintInfo
Method Overview
- public ReturnTypeRequirement()
- public ReturnTypeRequirement(clang::concepts::Requirement::SubstitutionDiagnostic * SubstDiag)
- public ReturnTypeRequirement(clang::TemplateParameterList * TPL)
- public bool containsUnexpandedParameterPack() const
- public clang::concepts::Requirement::SubstitutionDiagnostic * getSubstitutionDiagnostic() const
- public const clang::TypeConstraint * getTypeConstraint() const
- public clang::TemplateParameterList * getTypeConstraintTemplateParameterList() const
- public bool isDependent() const
- public bool isEmpty() const
- public bool isSubstitutionFailure() const
- public bool isTypeConstraint() const
Methods
¶ReturnTypeRequirement()
ReturnTypeRequirement()
Description
No return type requirement was specified.
Declared at: clang/include/clang/AST/ExprConcepts.h:280
¶ReturnTypeRequirement(
clang::concepts::Requirement::
SubstitutionDiagnostic* SubstDiag)
ReturnTypeRequirement(
clang::concepts::Requirement::
SubstitutionDiagnostic* SubstDiag)
Description
A return type requirement was specified but it was a substitution failure.
Declared at: clang/include/clang/AST/ExprConcepts.h:284
Parameters
- clang::concepts::Requirement:: SubstitutionDiagnostic* SubstDiag
¶ReturnTypeRequirement(
clang::TemplateParameterList* TPL)
ReturnTypeRequirement(
clang::TemplateParameterList* TPL)
Description
A 'type constraint' style return type requirement.
Declared at: clang/include/clang/AST/ExprConcepts.h:293
Parameters
- clang::TemplateParameterList* TPL
- an invented template parameter list containing a single type parameter with a type-constraint.
¶bool containsUnexpandedParameterPack() const
bool containsUnexpandedParameterPack() const
Declared at: clang/include/clang/AST/ExprConcepts.h:299
¶clang::concepts::Requirement::
SubstitutionDiagnostic*
getSubstitutionDiagnostic() const
clang::concepts::Requirement::
SubstitutionDiagnostic*
getSubstitutionDiagnostic() const
Declared at: clang/include/clang/AST/ExprConcepts.h:320
¶const clang::TypeConstraint* getTypeConstraint()
const
const clang::TypeConstraint* getTypeConstraint()
const
Declared at: clang/include/clang/AST/ExprConcepts.h:325
¶clang::TemplateParameterList*
getTypeConstraintTemplateParameterList() const
clang::TemplateParameterList*
getTypeConstraintTemplateParameterList() const
Declared at: clang/include/clang/AST/ExprConcepts.h:327
¶bool isDependent() const
bool isDependent() const
Declared at: clang/include/clang/AST/ExprConcepts.h:295
¶bool isEmpty() const
bool isEmpty() const
Declared at: clang/include/clang/AST/ExprConcepts.h:306
¶bool isSubstitutionFailure() const
bool isSubstitutionFailure() const
Declared at: clang/include/clang/AST/ExprConcepts.h:310
¶bool isTypeConstraint() const
bool isTypeConstraint() const
Declared at: clang/include/clang/AST/ExprConcepts.h:315