class DefaultStmt
Declaration
class DefaultStmt : public SwitchCase { /* full declaration omitted */ };
Description
Stmt - This represents one statement.
Declared at: clang/include/clang/AST/Stmt.h:1755
Inherits from: SwitchCase
Member Variables
- private clang::Stmt* SubStmt
Inherited from SwitchCase:
Inherited from Stmt:
Method Overview
- public DefaultStmt(clang::SourceLocation DL, clang::SourceLocation CL, clang::Stmt * substmt)
- public DefaultStmt(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 getDefaultLoc() const
- public clang::SourceLocation getEndLoc() const
- public clang::Stmt * getSubStmt()
- public const clang::Stmt * getSubStmt() const
- public void setDefaultLoc(clang::SourceLocation L)
- public void setSubStmt(clang::Stmt * S)
Inherited from SwitchCase:
- public classof
- public getBeginLoc
- public getColonLoc
- public getEndLoc
- public getKeywordLoc
- public getNextSwitchCase
- public getNextSwitchCase
- public getSubStmt
- public getSubStmt
- public setColonLoc
- public setKeywordLoc
- public setNextSwitchCase
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
¶DefaultStmt(clang::SourceLocation DL,
clang::SourceLocation CL,
clang::Stmt* substmt)
DefaultStmt(clang::SourceLocation DL,
clang::SourceLocation CL,
clang::Stmt* substmt)
Declared at: clang/include/clang/AST/Stmt.h:1759
Parameters
- clang::SourceLocation DL
- clang::SourceLocation CL
- clang::Stmt* substmt
¶DefaultStmt(clang::Stmt::EmptyShell Empty)
DefaultStmt(clang::Stmt::EmptyShell Empty)
Description
Build an empty default statement.
Declared at: clang/include/clang/AST/Stmt.h:1763
Parameters
- clang::Stmt::EmptyShell Empty
¶clang::Stmt::child_range children()
clang::Stmt::child_range children()
Declared at: clang/include/clang/AST/Stmt.h:1783
¶clang::Stmt::const_child_range children() const
clang::Stmt::const_child_range children() const
Declared at: clang/include/clang/AST/Stmt.h:1785
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/Stmt.h:1778
Parameters
- const clang::Stmt* T
¶clang::SourceLocation getBeginLoc() const
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/Stmt.h:1773
¶clang::SourceLocation getDefaultLoc() const
clang::SourceLocation getDefaultLoc() const
Declared at: clang/include/clang/AST/Stmt.h:1770
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/Stmt.h:1774
¶clang::Stmt* getSubStmt()
clang::Stmt* getSubStmt()
Declared at: clang/include/clang/AST/Stmt.h:1766
¶const clang::Stmt* getSubStmt() const
const clang::Stmt* getSubStmt() const
Declared at: clang/include/clang/AST/Stmt.h:1767
¶void setDefaultLoc(clang::SourceLocation L)
void setDefaultLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/Stmt.h:1771
Parameters
¶void setSubStmt(clang::Stmt* S)
void setSubStmt(clang::Stmt* S)
Declared at: clang/include/clang/AST/Stmt.h:1768
Parameters
- clang::Stmt* S