clang 22.0.0git
Public Member Functions | Public Attributes | List of all members
clang::AssociatedConstraint Struct Reference

#include "clang/AST/Decl.h"

Public Member Functions

constexpr AssociatedConstraint ()=default
 
 AssociatedConstraint (const Expr *ConstraintExpr, UnsignedOrNone ArgPackSubstIndex=std::nullopt)
 
 operator bool () const
 
bool isNull () const
 

Public Attributes

const ExprConstraintExpr = nullptr
 
UnsignedOrNone ArgPackSubstIndex = std::nullopt
 

Detailed Description

Definition at line 86 of file Decl.h.

Constructor & Destructor Documentation

◆ AssociatedConstraint() [1/2]

constexpr clang::AssociatedConstraint::AssociatedConstraint ( )
constexprdefault

◆ AssociatedConstraint() [2/2]

clang::AssociatedConstraint::AssociatedConstraint ( const Expr ConstraintExpr,
UnsignedOrNone  ArgPackSubstIndex = std::nullopt 
)
inlineexplicit

Definition at line 92 of file Decl.h.

Member Function Documentation

◆ isNull()

bool clang::AssociatedConstraint::isNull ( ) const
inline

Definition at line 98 of file Decl.h.

References bool.

Referenced by clang::FunctionDecl::isMemberLikeConstrainedFriend().

◆ operator bool()

clang::AssociatedConstraint::operator bool ( ) const
inlineexplicit

Definition at line 96 of file Decl.h.

References ConstraintExpr.

Member Data Documentation

◆ ArgPackSubstIndex

UnsignedOrNone clang::AssociatedConstraint::ArgPackSubstIndex = std::nullopt

◆ ConstraintExpr

const Expr* clang::AssociatedConstraint::ConstraintExpr = nullptr

The documentation for this struct was generated from the following file: