clang API Documentation
#include <Expr.h>
Public Member Functions | |
CompoundLiteralExpr (SourceLocation lparenloc, TypeSourceInfo *tinfo, QualType T, ExprValueKind VK, Expr *init, bool fileScope) | |
CompoundLiteralExpr (EmptyShell Empty) | |
Construct an empty compound literal. | |
const Expr * | getInitializer () const |
Expr * | getInitializer () |
void | setInitializer (Expr *E) |
bool | isFileScope () const |
void | setFileScope (bool FS) |
SourceLocation | getLParenLoc () const |
void | setLParenLoc (SourceLocation L) |
TypeSourceInfo * | getTypeSourceInfo () const |
void | setTypeSourceInfo (TypeSourceInfo *tinfo) |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
CompoundLiteralExpr - [C99 6.5.2.5]
clang::CompoundLiteralExpr::CompoundLiteralExpr | ( | SourceLocation | lparenloc, |
TypeSourceInfo * | tinfo, | ||
QualType | T, | ||
ExprValueKind | VK, | ||
Expr * | init, | ||
bool | fileScope | ||
) | [inline] |
clang::CompoundLiteralExpr::CompoundLiteralExpr | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::CompoundLiteralExpr::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::CompoundLiteralExpr::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented from clang::Expr.
Definition at line 2648 of file Expr.h.
References clang::Stmt::getStmtClass().
const Expr* clang::CompoundLiteralExpr::getInitializer | ( | ) | const [inline] |
Definition at line 2616 of file Expr.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCompoundLiteralLValue(), and clang::ento::ExprEngine::VisitCompoundLiteralExpr().
Expr* clang::CompoundLiteralExpr::getInitializer | ( | ) | [inline] |
SourceLocation clang::CompoundLiteralExpr::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 2641 of file Expr.h.
References clang::Stmt::getLocEnd().
SourceLocation clang::CompoundLiteralExpr::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Definition at line 2633 of file Expr.h.
References clang::Stmt::getLocStart(), and clang::SourceLocation::isInvalid().
SourceLocation clang::CompoundLiteralExpr::getLParenLoc | ( | ) | const [inline] |
TypeSourceInfo* clang::CompoundLiteralExpr::getTypeSourceInfo | ( | ) | const [inline] |
bool clang::CompoundLiteralExpr::isFileScope | ( | ) | const [inline] |
Definition at line 2620 of file Expr.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitCompoundLiteralLValue(), clang::CodeGen::CodeGenModule::GetAddrOfConstantCompoundLiteral(), clang::ento::MemRegionManager::getCompoundLiteralRegion(), clang::ento::CompoundLiteralRegion::isBoundable(), and IsGlobalLValue().
void clang::CompoundLiteralExpr::setFileScope | ( | bool | FS | ) | [inline] |
void clang::CompoundLiteralExpr::setInitializer | ( | Expr * | E | ) | [inline] |
void clang::CompoundLiteralExpr::setLParenLoc | ( | SourceLocation | L | ) | [inline] |
void clang::CompoundLiteralExpr::setTypeSourceInfo | ( | TypeSourceInfo * | tinfo | ) | [inline] |