clang  3.9.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::NullStmt Class Reference

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

#include <Stmt.h>

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

Public Member Functions

 NullStmt (SourceLocation L, bool hasLeadingEmptyMacro=false)
 
 NullStmt (EmptyShell Empty)
 Build an empty null statement. More...
 
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 511 of file Stmt.h.

Constructor & Destructor Documentation

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

Definition at line 521 of file Stmt.h.

clang::NullStmt::NullStmt ( EmptyShell  Empty)
inlineexplicit

Build an empty null statement.

Definition at line 526 of file Stmt.h.

Member Function Documentation

child_range clang::NullStmt::children ( )
inline

Definition at line 541 of file Stmt.h.

static bool clang::NullStmt::classof ( const Stmt T)
inlinestatic

Definition at line 537 of file Stmt.h.

SourceLocation clang::NullStmt::getLocEnd ( ) const
inline

Definition at line 535 of file Stmt.h.

SourceLocation clang::NullStmt::getLocStart ( ) const
inline

Definition at line 534 of file Stmt.h.

SourceLocation clang::NullStmt::getSemiLoc ( ) const
inline
bool clang::NullStmt::hasLeadingEmptyMacro ( ) const
inline

Definition at line 532 of file Stmt.h.

Referenced by isEmptyARCMTMacroStatement(), and clang::ASTNodeImporter::VisitNullStmt().

void clang::NullStmt::setSemiLoc ( SourceLocation  L)
inline

Definition at line 530 of file Stmt.h.

Friends And Related Function Documentation

friend class ASTStmtReader
friend

Definition at line 545 of file Stmt.h.

friend class ASTStmtWriter
friend

Definition at line 546 of file Stmt.h.


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