clang API Documentation

Public Member Functions | Static Public Member Functions | Public Attributes
clang::sema::BlockScopeInfo Class Reference

Retains information about a block that is currently being parsed. More...

#include <ScopeInfo.h>

Inheritance diagram for clang::sema::BlockScopeInfo:
Inheritance graph
[legend]
Collaboration diagram for clang::sema::BlockScopeInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BlockScopeInfo (DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block)
virtual ~BlockScopeInfo ()

Static Public Member Functions

static bool classof (const FunctionScopeInfo *FSI)

Public Attributes

BlockDeclTheDecl
ScopeTheScope
QualType FunctionType

Detailed Description

Retains information about a block that is currently being parsed.

Definition at line 532 of file ScopeInfo.h.


Constructor & Destructor Documentation

clang::sema::BlockScopeInfo::BlockScopeInfo ( DiagnosticsEngine Diag,
Scope BlockScope,
BlockDecl Block 
) [inline]

Definition at line 544 of file ScopeInfo.h.

References clang::sema::FunctionScopeInfo::SK_Block.

Definition at line 231 of file ScopeInfo.cpp.


Member Function Documentation

static bool clang::sema::BlockScopeInfo::classof ( const FunctionScopeInfo FSI) [inline, static]

Member Data Documentation

BlockType - The function type of the block, if one was given. Its return type may be BuiltinType::Dependent.

Definition at line 542 of file ScopeInfo.h.

Referenced by clang::Sema::ActOnBlockStmtExpr().

Definition at line 534 of file ScopeInfo.h.

Referenced by clang::Sema::ActOnBlockStmtExpr().

TheScope - This is the scope for the block itself, which contains arguments etc.

Definition at line 538 of file ScopeInfo.h.


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