class CompoundStatement

Declaration

class CompoundStatement : public Statement { /* full declaration omitted */ };

Description

{ statement1; statement2; … }

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:340

Inherits from: Statement

Member Variables

Method Overview

Inherited from Statement:

Inherited from Tree:

Inherited from Node:

Methods

CompoundStatement()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:342

static bool classof(const clang::syntax::Node* N)

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:343

Parameters

const clang::syntax::Node* N

clang::syntax::Leaf* getLbrace()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:344

clang::syntax::Leaf* getRbrace()

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:347

std::vector<Statement*> getStatements()

Description

FIXME: use custom iterator instead of 'vector'.

Declared at: clang/include/clang/Tooling/Syntax/Nodes.h:346