clang API Documentation
Retains information about a block that is currently being parsed. More...
#include <ScopeInfo.h>
Public Member Functions | |
BlockScopeInfo (DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) | |
virtual | ~BlockScopeInfo () |
Static Public Member Functions | |
static bool | classof (const FunctionScopeInfo *FSI) |
Public Attributes | |
BlockDecl * | TheDecl |
Scope * | TheScope |
QualType | FunctionType |
Retains information about a block that is currently being parsed.
Definition at line 532 of file ScopeInfo.h.
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.
BlockScopeInfo::~BlockScopeInfo | ( | ) | [virtual] |
Definition at line 231 of file ScopeInfo.cpp.
static bool clang::sema::BlockScopeInfo::classof | ( | const FunctionScopeInfo * | FSI | ) | [inline, static] |
Reimplemented from clang::sema::CapturingScopeInfo.
Definition at line 553 of file ScopeInfo.h.
References clang::sema::FunctionScopeInfo::Kind, and clang::sema::FunctionScopeInfo::SK_Block.
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.