clang API Documentation
VAArgExpr, used for the builtin function __builtin_va_arg. More...
#include <Expr.h>


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 Expr * | getSubExpr () const |
| Expr * | getSubExpr () |
| void | setSubExpr (Expr *E) |
| TypeSourceInfo * | getWrittenTypeInfo () 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 *) |
| clang::VAArgExpr::VAArgExpr | ( | SourceLocation | BLoc, |
| Expr * | e, | ||
| TypeSourceInfo * | TInfo, | ||
| SourceLocation | RPLoc, | ||
| QualType | t | ||
| ) | [inline] |
| clang::VAArgExpr::VAArgExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
Create an empty __builtin_va_arg expression.
| child_range clang::VAArgExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
| 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] |
| SourceLocation clang::VAArgExpr::getBuiltinLoc | ( | ) | const [inline] |
| SourceLocation clang::VAArgExpr::getRParenLoc | ( | ) | const [inline] |
| 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.
| TypeSourceInfo* clang::VAArgExpr::getWrittenTypeInfo | ( | ) | const [inline] |
| void clang::VAArgExpr::setBuiltinLoc | ( | SourceLocation | L | ) | [inline] |
| void clang::VAArgExpr::setRParenLoc | ( | SourceLocation | L | ) | [inline] |
| void clang::VAArgExpr::setWrittenTypeInfo | ( | TypeSourceInfo * | TI | ) | [inline] |