clang API Documentation
#include <Stmt.h>


Public Member Functions | |
| DefaultStmt (SourceLocation DL, SourceLocation CL, Stmt *substmt) | |
| DefaultStmt (EmptyShell Empty) | |
| Build an empty default statement. | |
| Stmt * | getSubStmt () |
| const Stmt * | getSubStmt () 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) |
| clang::DefaultStmt::DefaultStmt | ( | SourceLocation | DL, |
| SourceLocation | CL, | ||
| Stmt * | substmt | ||
| ) | [inline] |
| clang::DefaultStmt::DefaultStmt | ( | EmptyShell | Empty | ) | [inline, explicit] |
| child_range clang::DefaultStmt::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
| 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().
| SourceLocation clang::DefaultStmt::getColonLoc | ( | ) | const [inline] |
Reimplemented from clang::SwitchCase.
Definition at line 763 of file Stmt.h.
References clang::SwitchCase::ColonLoc.
| SourceLocation clang::DefaultStmt::getDefaultLoc | ( | ) | const [inline] |
Definition at line 761 of file Stmt.h.
References clang::SwitchCase::KeywordLoc.
Referenced by clang::Sema::ActOnFinishSwitchStmt().
| SourceLocation clang::DefaultStmt::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::SwitchCase.
Definition at line 767 of file Stmt.h.
References clang::Stmt::getLocEnd().
| SourceLocation clang::DefaultStmt::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::SwitchCase.
Definition at line 766 of file Stmt.h.
References clang::SwitchCase::KeywordLoc.
| Stmt* clang::DefaultStmt::getSubStmt | ( | ) | [inline] |
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.
| void clang::DefaultStmt::setColonLoc | ( | SourceLocation | L | ) | [inline] |
Reimplemented from clang::SwitchCase.
Definition at line 764 of file Stmt.h.
References clang::SwitchCase::ColonLoc.
| void clang::DefaultStmt::setDefaultLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 762 of file Stmt.h.
References clang::SwitchCase::KeywordLoc.
| void clang::DefaultStmt::setSubStmt | ( | Stmt * | S | ) | [inline] |