clang API Documentation
#include <Stmt.h>


Public Member Functions | |
| const SwitchCase * | getNextSwitchCase () const |
| SwitchCase * | getNextSwitchCase () |
| void | setNextSwitchCase (SwitchCase *SC) |
| SourceLocation | getKeywordLoc () const |
| void | setKeywordLoc (SourceLocation L) |
| SourceLocation | getColonLoc () const |
| void | setColonLoc (SourceLocation L) |
| Stmt * | getSubStmt () |
| const Stmt * | getSubStmt () const |
| SourceLocation | getLocStart () const LLVM_READONLY |
| SourceLocation | getLocEnd () const LLVM_READONLY |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
Protected Member Functions | |
| SwitchCase (StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) | |
| SwitchCase (StmtClass SC, EmptyShell) | |
Protected Attributes | |
| SwitchCase * | NextSwitchCase |
| SourceLocation | KeywordLoc |
| SourceLocation | ColonLoc |
| clang::SwitchCase::SwitchCase | ( | StmtClass | SC, |
| SourceLocation | KWLoc, | ||
| SourceLocation | ColonLoc | ||
| ) | [inline, protected] |
| clang::SwitchCase::SwitchCase | ( | StmtClass | SC, |
| EmptyShell | |||
| ) | [inline, protected] |
| static bool clang::SwitchCase::classof | ( | const Stmt * | T | ) | [inline, static] |
Reimplemented in clang::DefaultStmt, and clang::CaseStmt.
| SourceLocation clang::SwitchCase::getColonLoc | ( | ) | const [inline] |
Reimplemented in clang::DefaultStmt, and clang::CaseStmt.
Definition at line 669 of file Stmt.h.
References ColonLoc.
| SourceLocation clang::SwitchCase::getKeywordLoc | ( | ) | const [inline] |
Definition at line 667 of file Stmt.h.
References KeywordLoc.
| SourceLocation clang::SwitchCase::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Reimplemented in clang::DefaultStmt, and clang::CaseStmt.
| SourceLocation clang::SwitchCase::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
Reimplemented in clang::DefaultStmt, and clang::CaseStmt.
Definition at line 677 of file Stmt.h.
References KeywordLoc.
Referenced by EvaluateSwitch().
| const SwitchCase* clang::SwitchCase::getNextSwitchCase | ( | ) | const [inline] |
Definition at line 661 of file Stmt.h.
References NextSwitchCase.
Referenced by clang::Sema::ActOnFinishSwitchStmt(), clang::SwitchStmt::addSwitchCase(), clang::Sema::CodeCompleteCase(), clang::CodeGen::CodeGenFunction::EmitSwitchStmt(), EvaluateSwitch(), and FindCaseStatementsForValue().
| SwitchCase* clang::SwitchCase::getNextSwitchCase | ( | ) | [inline] |
Definition at line 663 of file Stmt.h.
References NextSwitchCase.
| Stmt * SwitchCase::getSubStmt | ( | ) |
Reimplemented in clang::DefaultStmt, and clang::CaseStmt.
Definition at line 963 of file Stmt.cpp.
Referenced by getSubStmt().
| const Stmt* clang::SwitchCase::getSubStmt | ( | ) | const [inline] |
Reimplemented in clang::DefaultStmt, and clang::CaseStmt.
Definition at line 673 of file Stmt.h.
References getSubStmt().
| void clang::SwitchCase::setColonLoc | ( | SourceLocation | L | ) | [inline] |
Reimplemented in clang::DefaultStmt, and clang::CaseStmt.
Definition at line 670 of file Stmt.h.
References ColonLoc.
| void clang::SwitchCase::setKeywordLoc | ( | SourceLocation | L | ) | [inline] |
Definition at line 668 of file Stmt.h.
References KeywordLoc.
| void clang::SwitchCase::setNextSwitchCase | ( | SwitchCase * | SC | ) | [inline] |
Definition at line 665 of file Stmt.h.
References NextSwitchCase.
Referenced by clang::SwitchStmt::addSwitchCase().
SourceLocation clang::SwitchCase::ColonLoc [protected] |
Definition at line 651 of file Stmt.h.
Referenced by getColonLoc(), clang::CaseStmt::getColonLoc(), clang::DefaultStmt::getColonLoc(), setColonLoc(), clang::CaseStmt::setColonLoc(), and clang::DefaultStmt::setColonLoc().
SourceLocation clang::SwitchCase::KeywordLoc [protected] |
Definition at line 650 of file Stmt.h.
Referenced by clang::CaseStmt::getCaseLoc(), clang::DefaultStmt::getDefaultLoc(), getKeywordLoc(), getLocStart(), clang::CaseStmt::getLocStart(), clang::DefaultStmt::getLocStart(), clang::CaseStmt::setCaseLoc(), clang::DefaultStmt::setDefaultLoc(), and setKeywordLoc().
SwitchCase* clang::SwitchCase::NextSwitchCase [protected] |
Definition at line 649 of file Stmt.h.
Referenced by getNextSwitchCase(), and setNextSwitchCase().