clang API Documentation

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

#include <Expr.h>

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

List of all members.

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 ExprgetInitializer () const
ExprgetInitializer ()
void setInitializer (Expr *E)
bool isFileScope () const
void setFileScope (bool FS)
SourceLocation getLParenLoc () const
void setLParenLoc (SourceLocation L)
TypeSourceInfogetTypeSourceInfo () 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)

Detailed Description

CompoundLiteralExpr - [C99 6.5.2.5]

Definition at line 2590 of file Expr.h.


Constructor & Destructor Documentation

clang::CompoundLiteralExpr::CompoundLiteralExpr ( SourceLocation  lparenloc,
TypeSourceInfo tinfo,
QualType  T,
ExprValueKind  VK,
Expr init,
bool  fileScope 
) [inline]

Definition at line 2602 of file Expr.h.

Construct an empty compound literal.

Definition at line 2613 of file Expr.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 2653 of file Expr.h.

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().

Definition at line 2617 of file Expr.h.

Reimplemented from clang::Stmt.

Definition at line 2641 of file Expr.h.

References clang::Stmt::getLocEnd().

Reimplemented from clang::Stmt.

Definition at line 2633 of file Expr.h.

References clang::Stmt::getLocStart(), and clang::SourceLocation::isInvalid().

Definition at line 2623 of file Expr.h.

Definition at line 2626 of file Expr.h.

Definition at line 2621 of file Expr.h.

Definition at line 2618 of file Expr.h.

Definition at line 2624 of file Expr.h.

Definition at line 2629 of file Expr.h.


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