clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::SubstNonTypeTemplateParmExpr Class Reference

Represents a reference to a non-type template parameter that has been substituted with a template argument. More...

#include <ExprCXX.h>

Inheritance diagram for clang::SubstNonTypeTemplateParmExpr:
Inheritance graph
[legend]
Collaboration diagram for clang::SubstNonTypeTemplateParmExpr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SubstNonTypeTemplateParmExpr (QualType type, ExprValueKind valueKind, SourceLocation loc, NonTypeTemplateParmDecl *param, Expr *replacement)
SourceLocation getNameLoc () const
SourceRange getSourceRange () const LLVM_READONLY
ExprgetReplacement () const
NonTypeTemplateParmDeclgetParameter () const
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *s)
static bool classof (const SubstNonTypeTemplateParmExpr *)

Friends

class ASTReader
class ASTStmtReader

Detailed Description

Represents a reference to a non-type template parameter that has been substituted with a template argument.

Definition at line 3486 of file ExprCXX.h.


Constructor & Destructor Documentation

clang::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr ( QualType  type,
ExprValueKind  valueKind,
SourceLocation  loc,
NonTypeTemplateParmDecl param,
Expr replacement 
) [inline]

Definition at line 3502 of file ExprCXX.h.


Member Function Documentation

child_range clang::SubstNonTypeTemplateParmExpr::children ( ) [inline]

Reimplemented from clang::Stmt.

Definition at line 3528 of file ExprCXX.h.

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]

Definition at line 3523 of file ExprCXX.h.

SourceLocation clang::SubstNonTypeTemplateParmExpr::getNameLoc ( ) const [inline]

Definition at line 3513 of file ExprCXX.h.

NonTypeTemplateParmDecl* clang::SubstNonTypeTemplateParmExpr::getParameter ( ) const [inline]

Definition at line 3518 of file ExprCXX.h.

References Param.

Expr* clang::SubstNonTypeTemplateParmExpr::getReplacement ( ) const [inline]

Definition at line 3516 of file ExprCXX.h.

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.

Definition at line 3514 of file ExprCXX.h.


Friends And Related Function Documentation

friend class ASTReader [friend]

Definition at line 3496 of file ExprCXX.h.

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 3497 of file ExprCXX.h.


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