class NullStmt
Declaration
class NullStmt : public Stmt { /* full declaration omitted */ };
Description
NullStmt - This is the null statement ";": C99 6.8.3p3.
Declared at: clang/include/clang/AST/Stmt.h:1371
Inherits from: Stmt
Member Variables
Inherited from Stmt:
Method Overview
- public NullStmt(clang::SourceLocation L, bool hasLeadingEmptyMacro = false)
- public NullStmt(clang::Stmt::EmptyShell Empty)
- public clang::Stmt::child_range children()
- public clang::Stmt::const_child_range children() const
- public static bool classof(const clang::Stmt * T)
- public clang::SourceLocation getBeginLoc() const
- public clang::SourceLocation getEndLoc() const
- public clang::SourceLocation getSemiLoc() const
- public bool hasLeadingEmptyMacro() const
- public void setSemiLoc(clang::SourceLocation L)
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶NullStmt(clang::SourceLocation L,
bool hasLeadingEmptyMacro = false)
NullStmt(clang::SourceLocation L,
bool hasLeadingEmptyMacro = false)
Declared at: clang/include/clang/AST/Stmt.h:1373
Parameters
- clang::SourceLocation L
- bool hasLeadingEmptyMacro = false
¶NullStmt(clang::Stmt::EmptyShell Empty)
NullStmt(clang::Stmt::EmptyShell Empty)
Description
Build an empty null statement.
Declared at: clang/include/clang/AST/Stmt.h:1380
Parameters
- clang::Stmt::EmptyShell Empty
¶clang::Stmt::child_range children()
clang::Stmt::child_range children()
Declared at: clang/include/clang/AST/Stmt.h:1396
¶clang::Stmt::const_child_range children() const
clang::Stmt::const_child_range children() const
Declared at: clang/include/clang/AST/Stmt.h:1400
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/Stmt.h:1392
Parameters
- const clang::Stmt* T
¶clang::SourceLocation getBeginLoc() const
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/Stmt.h:1389
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/Stmt.h:1390
¶clang::SourceLocation getSemiLoc() const
clang::SourceLocation getSemiLoc() const
Declared at: clang/include/clang/AST/Stmt.h:1382
¶bool hasLeadingEmptyMacro() const
bool hasLeadingEmptyMacro() const
Declared at: clang/include/clang/AST/Stmt.h:1385
¶void setSemiLoc(clang::SourceLocation L)
void setSemiLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:1383