clang 20.0.0git
|
Represents a reference to a non-type template parameter that has been substituted with a template argument. More...
#include "clang/AST/ExprCXX.h"
Public Member Functions | |
SubstNonTypeTemplateParmExpr (QualType Ty, ExprValueKind ValueKind, SourceLocation Loc, Expr *Replacement, Decl *AssociatedDecl, unsigned Index, std::optional< unsigned > PackIndex, bool RefParam) | |
SourceLocation | getNameLoc () const |
SourceLocation | getBeginLoc () const |
SourceLocation | getEndLoc () const |
Expr * | getReplacement () const |
Decl * | getAssociatedDecl () const |
A template-like entity which owns the whole pattern being substituted. | |
unsigned | getIndex () const |
Returns the index of the replaced parameter in the associated declaration. | |
std::optional< unsigned > | getPackIndex () const |
NonTypeTemplateParmDecl * | getParameter () const |
bool | isReferenceParameter () const |
QualType | getParameterType (const ASTContext &Ctx) const |
Determine the substituted type of the template parameter. | |
child_range | children () |
const_child_range | children () const |
![]() | |
Expr ()=delete | |
Expr (const Expr &)=delete | |