clang API Documentation

Public Member Functions | Static Public Member Functions
clang::VAArgExpr Class Reference

VAArgExpr, used for the builtin function __builtin_va_arg. More...

#include <Expr.h>

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

List of all members.

Public Member Functions

 VAArgExpr (SourceLocation BLoc, Expr *e, TypeSourceInfo *TInfo, SourceLocation RPLoc, QualType t)
 VAArgExpr (EmptyShell Empty)
 Create an empty __builtin_va_arg expression.
const ExprgetSubExpr () const
ExprgetSubExpr ()
void setSubExpr (Expr *E)
TypeSourceInfogetWrittenTypeInfo () const
void setWrittenTypeInfo (TypeSourceInfo *TI)
SourceLocation getBuiltinLoc () const
void setBuiltinLoc (SourceLocation L)
SourceLocation getRParenLoc () const
void setRParenLoc (SourceLocation L)
SourceRange getSourceRange () const LLVM_READONLY
child_range children ()

Static Public Member Functions

static bool classof (const Stmt *T)
static bool classof (const VAArgExpr *)

Detailed Description

VAArgExpr, used for the builtin function __builtin_va_arg.

Definition at line 3414 of file Expr.h.


Constructor & Destructor Documentation

clang::VAArgExpr::VAArgExpr ( SourceLocation  BLoc,
Expr e,
TypeSourceInfo TInfo,
SourceLocation  RPLoc,
QualType  t 
) [inline]

Definition at line 3419 of file Expr.h.

clang::VAArgExpr::VAArgExpr ( EmptyShell  Empty) [inline, explicit]

Create an empty __builtin_va_arg expression.

Definition at line 3432 of file Expr.h.


Member Function Documentation

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

Reimplemented from clang::Stmt.

Definition at line 3456 of file Expr.h.

static bool clang::VAArgExpr::classof ( const Stmt T) [inline, static]

Reimplemented from clang::Expr.

Definition at line 3450 of file Expr.h.

References clang::Stmt::getStmtClass().

static bool clang::VAArgExpr::classof ( const VAArgExpr ) [inline, static]

Definition at line 3453 of file Expr.h.

SourceLocation clang::VAArgExpr::getBuiltinLoc ( ) const [inline]

Definition at line 3441 of file Expr.h.

SourceLocation clang::VAArgExpr::getRParenLoc ( ) const [inline]

Definition at line 3444 of file Expr.h.

SourceRange clang::VAArgExpr::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 3447 of file Expr.h.

const Expr* clang::VAArgExpr::getSubExpr ( ) const [inline]

Definition at line 3434 of file Expr.h.

Expr* clang::VAArgExpr::getSubExpr ( ) [inline]

Definition at line 3435 of file Expr.h.

TypeSourceInfo* clang::VAArgExpr::getWrittenTypeInfo ( ) const [inline]

Definition at line 3438 of file Expr.h.

void clang::VAArgExpr::setBuiltinLoc ( SourceLocation  L) [inline]

Definition at line 3442 of file Expr.h.

void clang::VAArgExpr::setRParenLoc ( SourceLocation  L) [inline]

Definition at line 3445 of file Expr.h.

void clang::VAArgExpr::setSubExpr ( Expr E) [inline]

Definition at line 3436 of file Expr.h.

void clang::VAArgExpr::setWrittenTypeInfo ( TypeSourceInfo TI) [inline]

Definition at line 3439 of file Expr.h.


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