class VAArgExpr

Declaration

class VAArgExpr : public Expr { /* full declaration omitted */ };

Description

Represents a call to the builtin function \c __builtin_va_arg.

Declared at: clang/include/clang/AST/Expr.h:4633

Inherits from: Expr

Member Variables

private clang::Stmt* Val
private llvm::PointerIntPair<TypeSourceInfo*, 1, bool> TInfo
private clang::SourceLocation BuiltinLoc
private clang::SourceLocation RParenLoc

Inherited from Stmt:

protected

Method Overview

Inherited from Expr:

Inherited from ValueStmt:

Inherited from Stmt:

Methods

VAArgExpr(clang::Stmt::EmptyShell Empty)

Description

Create an empty __builtin_va_arg expression.

Declared at: clang/include/clang/AST/Expr.h:4646

Parameters

clang::Stmt::EmptyShell Empty

VAArgExpr(clang::SourceLocation BLoc,
          clang::Expr* e,
          clang::TypeSourceInfo* TInfo,
          clang::SourceLocation RPLoc,
          clang::QualType t,
          bool IsMS)

Declared at: clang/include/clang/AST/Expr.h:4638

Parameters

clang::SourceLocation BLoc
clang::Expr* e
clang::TypeSourceInfo* TInfo
clang::SourceLocation RPLoc
clang::QualType t
bool IsMS

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/Expr.h:4675

clang::Stmt::child_range children()

Declared at: clang/include/clang/AST/Expr.h:4674

static bool classof(const clang::Stmt* T)

Declared at: clang/include/clang/AST/Expr.h:4669

Parameters

const clang::Stmt* T

clang::SourceLocation getBeginLoc() const

Declared at: clang/include/clang/AST/Expr.h:4666

clang::SourceLocation getBuiltinLoc() const

Declared at: clang/include/clang/AST/Expr.h:4660

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/Expr.h:4667

clang::SourceLocation getRParenLoc() const

Declared at: clang/include/clang/AST/Expr.h:4663

clang::Expr* getSubExpr()

Declared at: clang/include/clang/AST/Expr.h:4650

const clang::Expr* getSubExpr() const

Declared at: clang/include/clang/AST/Expr.h:4649

clang::TypeSourceInfo* getWrittenTypeInfo() const

Declared at: clang/include/clang/AST/Expr.h:4657

bool isMicrosoftABI() const

Description

Returns whether this is really a Win64 ABI va_arg expression.

Declared at: clang/include/clang/AST/Expr.h:4654

void setBuiltinLoc(clang::SourceLocation L)

Declared at: clang/include/clang/AST/Expr.h:4661

Parameters

clang::SourceLocation L

void setIsMicrosoftABI(bool IsMS)

Declared at: clang/include/clang/AST/Expr.h:4655

Parameters

bool IsMS

void setRParenLoc(clang::SourceLocation L)

Declared at: clang/include/clang/AST/Expr.h:4664

Parameters

clang::SourceLocation L

void setSubExpr(clang::Expr* E)

Declared at: clang/include/clang/AST/Expr.h:4651

Parameters

clang::Expr* E

void setWrittenTypeInfo(clang::TypeSourceInfo* TI)

Declared at: clang/include/clang/AST/Expr.h:4658

Parameters

clang::TypeSourceInfo* TI