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) |
| static bool | classof (const BlockScopeInfo *BSI) |
Public Attributes | |
| BlockDecl * | TheDecl |
| Scope * | TheScope |
| QualType | FunctionType |
Retains information about a block that is currently being parsed.
Definition at line 296 of file ScopeInfo.h.
| clang::sema::BlockScopeInfo::BlockScopeInfo | ( | DiagnosticsEngine & | Diag, |
| Scope * | BlockScope, | ||
| BlockDecl * | Block | ||
| ) | [inline] |
Definition at line 308 of file ScopeInfo.h.
References clang::sema::FunctionScopeInfo::SK_Block.
| static bool clang::sema::BlockScopeInfo::classof | ( | const FunctionScopeInfo * | FSI | ) | [inline, static] |
Reimplemented from clang::sema::CapturingScopeInfo.
Definition at line 317 of file ScopeInfo.h.
References clang::sema::FunctionScopeInfo::Kind, and clang::sema::FunctionScopeInfo::SK_Block.
| static bool clang::sema::BlockScopeInfo::classof | ( | const BlockScopeInfo * | BSI | ) | [inline, static] |
Definition at line 320 of file ScopeInfo.h.
BlockType - The function type of the block, if one was given. Its return type may be BuiltinType::Dependent.
Definition at line 306 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnBlockStmtExpr().
Definition at line 298 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 302 of file ScopeInfo.h.