|
clang
3.8.0
|
LabelStmt - Represents a label, which has a substatement. More...
#include <Stmt.h>
Public Member Functions | |
| LabelStmt (SourceLocation IL, LabelDecl *D, Stmt *substmt) | |
| LabelStmt (EmptyShell Empty) | |
| SourceLocation | getIdentLoc () const |
| LabelDecl * | getDecl () const |
| void | setDecl (LabelDecl *D) |
| const char * | getName () const |
| Stmt * | getSubStmt () |
| const Stmt * | getSubStmt () const |
| void | setIdentLoc (SourceLocation L) |
| void | setSubStmt (Stmt *SS) |
| SourceLocation | getLocStart () const LLVM_READONLY |
| SourceLocation | getLocEnd () const LLVM_READONLY |
| child_range | children () |
Static Public Member Functions | |
| static bool | classof (const Stmt *T) |
LabelStmt - Represents a label, which has a substatement.
For example: foo: return;
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 794 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitLabelStmt(), getName(), and clang::ASTNodeImporter::VisitLabelStmt().
|
inline |
Definition at line 793 of file Stmt.h.
Referenced by DiagnoseIndirectJumpStmt(), and clang::ASTNodeImporter::VisitLabelStmt().
|
inline |
|
inline |
| const char * LabelStmt::getName | ( | ) | const |
Definition at line 309 of file Stmt.cpp.
References getDecl(), clang::NamedDecl::getIdentifier(), and clang::IdentifierInfo::getNameStart().
Referenced by print_block().
|
inline |
Definition at line 797 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitLabelStmt(), and clang::ASTNodeImporter::VisitLabelStmt().
|
inline |
|
inline |
Definition at line 800 of file Stmt.h.
Referenced by clang::Sema::ActOnStmtExpr().
1.8.6