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:

protected ColonLoc
protected NextSwitchCase = nullptr

Inherited from Stmt:

protected

Method Overview

Inherited from SwitchCase:

Inherited from Stmt:

Methods

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)

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()

Declared at: clang/include/clang/AST/Stmt.h:1783

clang::Stmt::const_child_range children() const

Declared at: clang/include/clang/AST/Stmt.h:1785

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

Declared at: clang/include/clang/AST/Stmt.h:1773

clang::SourceLocation getDefaultLoc() const

Declared at: clang/include/clang/AST/Stmt.h:1770

clang::SourceLocation getEndLoc() const

Declared at: clang/include/clang/AST/Stmt.h:1774

clang::Stmt* getSubStmt()

Declared at: clang/include/clang/AST/Stmt.h:1766

const clang::Stmt* getSubStmt() const

Declared at: clang/include/clang/AST/Stmt.h:1767

void setDefaultLoc(clang::SourceLocation L)

Declared at: clang/include/clang/AST/Stmt.h:1771

Parameters

clang::SourceLocation L

void setSubStmt(clang::Stmt* S)

Declared at: clang/include/clang/AST/Stmt.h:1768

Parameters

clang::Stmt* S