clang API Documentation

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

#include <Stmt.h>

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

List of all members.

Public Member Functions

 DefaultStmt (SourceLocation DL, SourceLocation CL, Stmt *substmt)
 DefaultStmt (EmptyShell Empty)
 Build an empty default statement.
StmtgetSubStmt ()
const StmtgetSubStmt () const
void setSubStmt (Stmt *S)
SourceLocation getDefaultLoc () const
void setDefaultLoc (SourceLocation L)
SourceLocation getColonLoc () const
void setColonLoc (SourceLocation L)
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

Definition at line 747 of file Stmt.h.


Constructor & Destructor Documentation

clang::DefaultStmt::DefaultStmt ( SourceLocation  DL,
SourceLocation  CL,
Stmt substmt 
) [inline]

Definition at line 750 of file Stmt.h.

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

Build an empty default statement.

Definition at line 754 of file Stmt.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 774 of file Stmt.h.

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

Reimplemented from clang::SwitchCase.

Definition at line 769 of file Stmt.h.

References clang::Stmt::getStmtClass().

Reimplemented from clang::SwitchCase.

Definition at line 763 of file Stmt.h.

References clang::SwitchCase::ColonLoc.

Definition at line 761 of file Stmt.h.

References clang::SwitchCase::KeywordLoc.

Referenced by clang::Sema::ActOnFinishSwitchStmt().

Reimplemented from clang::SwitchCase.

Definition at line 767 of file Stmt.h.

References clang::Stmt::getLocEnd().

Reimplemented from clang::SwitchCase.

Definition at line 766 of file Stmt.h.

References clang::SwitchCase::KeywordLoc.

Reimplemented from clang::SwitchCase.

Definition at line 757 of file Stmt.h.

Referenced by clang::CodeGen::CodeGenFunction::EmitDefaultStmt().

const Stmt* clang::DefaultStmt::getSubStmt ( ) const [inline]

Reimplemented from clang::SwitchCase.

Definition at line 758 of file Stmt.h.

Reimplemented from clang::SwitchCase.

Definition at line 764 of file Stmt.h.

References clang::SwitchCase::ColonLoc.

Definition at line 762 of file Stmt.h.

References clang::SwitchCase::KeywordLoc.

void clang::DefaultStmt::setSubStmt ( Stmt S) [inline]

Definition at line 759 of file Stmt.h.

References S.


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