clang API Documentation
#include <Stmt.h>
Public Member Functions | |
NullStmt (SourceLocation L, bool hasLeadingEmptyMacro=false) | |
NullStmt (EmptyShell Empty) | |
Build an empty null statement. | |
SourceLocation | getSemiLoc () const |
void | setSemiLoc (SourceLocation L) |
bool | hasLeadingEmptyMacro () const |
SourceLocation | getLocStart () const LLVM_READONLY |
SourceLocation | getLocEnd () const LLVM_READONLY |
child_range | children () |
Static Public Member Functions | |
static bool | classof (const Stmt *T) |
Friends | |
class | ASTStmtReader |
class | ASTStmtWriter |
clang::NullStmt::NullStmt | ( | SourceLocation | L, |
bool | hasLeadingEmptyMacro = false |
||
) | [inline] |
clang::NullStmt::NullStmt | ( | EmptyShell | Empty | ) | [inline, explicit] |
child_range clang::NullStmt::children | ( | ) | [inline] |
Reimplemented from clang::Stmt.
static bool clang::NullStmt::classof | ( | const Stmt * | T | ) | [inline, static] |
Definition at line 541 of file Stmt.h.
References clang::Stmt::getStmtClass().
SourceLocation clang::NullStmt::getLocEnd | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::NullStmt::getLocStart | ( | ) | const [inline] |
Reimplemented from clang::Stmt.
SourceLocation clang::NullStmt::getSemiLoc | ( | ) | const [inline] |
Definition at line 533 of file Stmt.h.
Referenced by clang::Sema::DiagnoseEmptyLoopBody(), clang::Sema::DiagnoseEmptyStmtBody(), and isEmptyARCMTMacroStatement().
bool clang::NullStmt::hasLeadingEmptyMacro | ( | ) | const [inline] |
Definition at line 536 of file Stmt.h.
Referenced by isEmptyARCMTMacroStatement().
void clang::NullStmt::setSemiLoc | ( | SourceLocation | L | ) | [inline] |
friend class ASTStmtReader [friend] |
Reimplemented from clang::Stmt.
friend class ASTStmtWriter [friend] |
Reimplemented from clang::Stmt.