clang API Documentation

Public Member Functions | Static Public Member Functions | Friends
clang::NullStmt Class Reference

#include <Stmt.h>

Inheritance diagram for clang::NullStmt:
Inheritance graph
[legend]
Collaboration diagram for clang::NullStmt:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

NullStmt - This is the null statement ";": C99 6.8.3p3.

Definition at line 515 of file Stmt.h.


Constructor & Destructor Documentation

clang::NullStmt::NullStmt ( SourceLocation  L,
bool  hasLeadingEmptyMacro = false 
) [inline]

Definition at line 525 of file Stmt.h.

clang::NullStmt::NullStmt ( EmptyShell  Empty) [inline, explicit]

Build an empty null statement.

Definition at line 530 of file Stmt.h.


Member Function Documentation

Reimplemented from clang::Stmt.

Definition at line 545 of file Stmt.h.

static bool clang::NullStmt::classof ( const Stmt T) [inline, static]

Definition at line 541 of file Stmt.h.

References clang::Stmt::getStmtClass().

Reimplemented from clang::Stmt.

Definition at line 539 of file Stmt.h.

Reimplemented from clang::Stmt.

Definition at line 538 of file Stmt.h.

Definition at line 536 of file Stmt.h.

Referenced by isEmptyARCMTMacroStatement().

Definition at line 534 of file Stmt.h.


Friends And Related Function Documentation

friend class ASTStmtReader [friend]

Reimplemented from clang::Stmt.

Definition at line 547 of file Stmt.h.

friend class ASTStmtWriter [friend]

Reimplemented from clang::Stmt.

Definition at line 548 of file Stmt.h.


The documentation for this class was generated from the following file: