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

Methods

ReturnTypeRequirement()

Description

No return type requirement was specified.

Declared at: clang/include/clang/AST/ExprConcepts.h:280

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)

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

Declared at: clang/include/clang/AST/ExprConcepts.h:299

clang::concepts::Requirement::
    SubstitutionDiagnostic*
    getSubstitutionDiagnostic() const

Declared at: clang/include/clang/AST/ExprConcepts.h:320

const clang::TypeConstraint* getTypeConstraint()
    const

Declared at: clang/include/clang/AST/ExprConcepts.h:325

clang::TemplateParameterList*
getTypeConstraintTemplateParameterList() const

Declared at: clang/include/clang/AST/ExprConcepts.h:327

bool isDependent() const

Declared at: clang/include/clang/AST/ExprConcepts.h:295

bool isEmpty() const

Declared at: clang/include/clang/AST/ExprConcepts.h:306

bool isSubstitutionFailure() const

Declared at: clang/include/clang/AST/ExprConcepts.h:310

bool isTypeConstraint() const

Declared at: clang/include/clang/AST/ExprConcepts.h:315