clang API Documentation
Retains information about a captured region. More...
#include <ScopeInfo.h>
Public Member Functions | |
CapturedRegionScopeInfo (DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD, RecordDecl *RD, ImplicitParamDecl *Context, CapturedRegionKind K) | |
virtual | ~CapturedRegionScopeInfo () |
StringRef | getRegionName () const |
A descriptive name for the kind of captured region this is. | |
Static Public Member Functions | |
static bool | classof (const FunctionScopeInfo *FSI) |
Public Attributes | |
CapturedDecl * | TheCapturedDecl |
The CapturedDecl for this statement. | |
RecordDecl * | TheRecordDecl |
The captured record type. | |
Scope * | TheScope |
This is the enclosing scope of the captured region. | |
ImplicitParamDecl * | ContextParam |
The implicit parameter for the captured variables. | |
CapturedRegionKind | CapRegionKind |
The kind of captured region. |
Retains information about a captured region.
Definition at line 559 of file ScopeInfo.h.
clang::sema::CapturedRegionScopeInfo::CapturedRegionScopeInfo | ( | DiagnosticsEngine & | Diag, |
Scope * | S, | ||
CapturedDecl * | CD, | ||
RecordDecl * | RD, | ||
ImplicitParamDecl * | Context, | ||
CapturedRegionKind | K | ||
) | [inline] |
Definition at line 572 of file ScopeInfo.h.
References clang::sema::FunctionScopeInfo::SK_CapturedRegion.
CapturedRegionScopeInfo::~CapturedRegionScopeInfo | ( | ) | [virtual] |
Definition at line 233 of file ScopeInfo.cpp.
static bool clang::sema::CapturedRegionScopeInfo::classof | ( | const FunctionScopeInfo * | FSI | ) | [inline, static] |
Reimplemented from clang::sema::CapturingScopeInfo.
Definition at line 595 of file ScopeInfo.h.
References clang::sema::FunctionScopeInfo::Kind, and clang::sema::FunctionScopeInfo::SK_CapturedRegion.
StringRef clang::sema::CapturedRegionScopeInfo::getRegionName | ( | ) | const [inline] |
A descriptive name for the kind of captured region this is.
Definition at line 585 of file ScopeInfo.h.
References CapRegionKind, clang::CR_Default, and clang::CR_OpenMP.
The kind of captured region.
Definition at line 570 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnCapturedRegionEnd(), and getRegionName().
The implicit parameter for the captured variables.
Definition at line 568 of file ScopeInfo.h.
The CapturedDecl for this statement.
Definition at line 562 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnCapturedRegionEnd().
The captured record type.
Definition at line 564 of file ScopeInfo.h.
Referenced by clang::Sema::ActOnCapturedRegionEnd(), clang::Sema::ActOnCapturedRegionError(), and captureInCapturedRegion().
This is the enclosing scope of the captured region.
Definition at line 566 of file ScopeInfo.h.