clang  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
clang::DefaultStmt Class Reference

#include <Stmt.h>

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

Public Member Functions

 DefaultStmt (SourceLocation DL, SourceLocation CL, Stmt *substmt)
 
 DefaultStmt (EmptyShell Empty)
 Build an empty default statement. More...
 
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 ()
 
- Public Member Functions inherited from clang::SwitchCase
const SwitchCasegetNextSwitchCase () const
 
SwitchCasegetNextSwitchCase ()
 
void setNextSwitchCase (SwitchCase *SC)
 
SourceLocation getKeywordLoc () const
 
void setKeywordLoc (SourceLocation L)
 
SourceLocation getColonLoc () const
 
void setColonLoc (SourceLocation L)
 
StmtgetSubStmt ()
 
const StmtgetSubStmt () const
 
SourceLocation getLocStart () const LLVM_READONLY
 
SourceLocation getLocEnd () const LLVM_READONLY
 

Static Public Member Functions

static bool classof (const Stmt *T)
 
- Static Public Member Functions inherited from clang::SwitchCase
static bool classof (const Stmt *T)
 

Additional Inherited Members

- Protected Member Functions inherited from clang::SwitchCase
 SwitchCase (StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc)
 
 SwitchCase (StmtClass SC, EmptyShell)
 
- Protected Attributes inherited from clang::SwitchCase
SwitchCaseNextSwitchCase
 
SourceLocation KeywordLoc
 
SourceLocation ColonLoc
 

Detailed Description

Definition at line 753 of file Stmt.h.

Constructor & Destructor Documentation

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

Definition at line 756 of file Stmt.h.

clang::DefaultStmt::DefaultStmt ( EmptyShell  Empty)
inlineexplicit

Build an empty default statement.

Definition at line 760 of file Stmt.h.

Member Function Documentation

child_range clang::DefaultStmt::children ( )
inline

Definition at line 780 of file Stmt.h.

static bool clang::DefaultStmt::classof ( const Stmt T)
inlinestatic

Definition at line 775 of file Stmt.h.

SourceLocation clang::DefaultStmt::getColonLoc ( ) const
inline

Definition at line 769 of file Stmt.h.

References ColonLoc.

Referenced by clang::ASTNodeImporter::VisitDefaultStmt().

SourceLocation clang::DefaultStmt::getDefaultLoc ( ) const
inline
SourceLocation clang::DefaultStmt::getLocEnd ( ) const
inline

Definition at line 773 of file Stmt.h.

SourceLocation clang::DefaultStmt::getLocStart ( ) const
inline

Definition at line 772 of file Stmt.h.

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

Definition at line 764 of file Stmt.h.

void clang::DefaultStmt::setColonLoc ( SourceLocation  L)
inline

Definition at line 770 of file Stmt.h.

References ColonLoc.

void clang::DefaultStmt::setDefaultLoc ( SourceLocation  L)
inline

Definition at line 768 of file Stmt.h.

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

Definition at line 765 of file Stmt.h.

References S.


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