clang API Documentation

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

Retains information about a captured region. More...

#include <ScopeInfo.h>

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

List of all members.

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

CapturedDeclTheCapturedDecl
 The CapturedDecl for this statement.
RecordDeclTheRecordDecl
 The captured record type.
ScopeTheScope
 This is the enclosing scope of the captured region.
ImplicitParamDeclContextParam
 The implicit parameter for the captured variables.
CapturedRegionKind CapRegionKind
 The kind of captured region.

Detailed Description

Retains information about a captured region.

Definition at line 559 of file ScopeInfo.h.


Constructor & Destructor Documentation

Definition at line 572 of file ScopeInfo.h.

References clang::sema::FunctionScopeInfo::SK_CapturedRegion.

Definition at line 233 of file ScopeInfo.cpp.


Member Function Documentation

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

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.


Member Data Documentation

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.


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