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 |
| SourceRange | getSourceRange () const LLVM_READONLY |
| Expr * | getReplacement () const |
| NonTypeTemplateParmDecl * | getParameter () const |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *s) |
| static bool | classof (const SubstNonTypeTemplateParmExpr *) |
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 3520 of file ExprCXX.h.
References clang::Stmt::getStmtClass().
| static bool clang::SubstNonTypeTemplateParmExpr::classof | ( | const SubstNonTypeTemplateParmExpr * | ) | [inline, static] |
| SourceLocation clang::SubstNonTypeTemplateParmExpr::getNameLoc | ( | ) | const [inline] |
| NonTypeTemplateParmDecl* clang::SubstNonTypeTemplateParmExpr::getParameter | ( | ) | const [inline] |
| Expr* clang::SubstNonTypeTemplateParmExpr::getReplacement | ( | ) | const [inline] |
| SourceRange clang::SubstNonTypeTemplateParmExpr::getSourceRange | ( | ) | const [inline] |
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. We assume AST clients will have a pointer to the respective SourceManager.
Reimplemented from clang::Stmt.
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.