clang
3.7.0
|
#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 809 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitLabelStmt(), getName(), and clang::ASTNodeImporter::VisitLabelStmt().
|
inline |
Definition at line 808 of file Stmt.h.
Referenced by DiagnoseIndirectJumpStmt(), and clang::ASTNodeImporter::VisitLabelStmt().
|
inline |
|
inline |
const char * LabelStmt::getName | ( | ) | const |
Definition at line 307 of file Stmt.cpp.
References getDecl(), clang::NamedDecl::getIdentifier(), and clang::IdentifierInfo::getNameStart().
Referenced by print_block().
|
inline |
Definition at line 812 of file Stmt.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitLabelStmt(), and clang::ASTNodeImporter::VisitLabelStmt().
|
inline |
|
inline |
Definition at line 815 of file Stmt.h.
Referenced by clang::Sema::ActOnStmtExpr().