clang API Documentation
Represents a reference to a non-type template parameter that has been substituted with a template argument. More...
#include <ExprCXX.h>
Public Member Functions | |
SubstNonTypeTemplateParmExpr (QualType type, ExprValueKind valueKind, SourceLocation loc, NonTypeTemplateParmDecl *param, Expr *replacement) | |
SourceLocation | getNameLoc () const |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
Expr * | getReplacement () const |
NonTypeTemplateParmDecl * | getParameter () const |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *s) |
Friends | |
class | ASTReader |
class | ASTStmtReader |
Represents a reference to a non-type template parameter that has been substituted with a template argument.
clang::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr | ( | QualType | type, |
ExprValueKind | valueKind, | ||
SourceLocation | loc, | ||
NonTypeTemplateParmDecl * | param, | ||
Expr * | replacement | ||
) | [inline] |
child_range clang::SubstNonTypeTemplateParmExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::SubstNonTypeTemplateParmExpr::classof | ( | const Stmt * | s | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 3579 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::SubstNonTypeTemplateParmExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::SubstNonTypeTemplateParmExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::SubstNonTypeTemplateParmExpr::getNameLoc | ( | ) | const [inline] |
NonTypeTemplateParmDecl* clang::SubstNonTypeTemplateParmExpr::getParameter | ( | ) | const [inline] |
Expr* clang::SubstNonTypeTemplateParmExpr::getReplacement | ( | ) | const [inline] |
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.