class CapturedRegionScopeInfo
Declaration
class CapturedRegionScopeInfo : public CapturingScopeInfo { /* full declaration omitted */ };
Description
Retains information about a captured region.
Declared at: clang/include/clang/Sema/ScopeInfo.h:779
Inherits from: CapturingScopeInfo
Member Variables
- public clang::CapturedDecl* TheCapturedDecl
- The CapturedDecl for this statement.
- public clang::RecordDecl* TheRecordDecl
- The captured record type.
- public clang::Scope* TheScope
- This is the enclosing scope of the captured region.
- public clang::ImplicitParamDecl* ContextParam
- The implicit parameter for the captured variables.
- public unsigned short CapRegionKind
- The kind of captured region.
- public unsigned short OpenMPLevel
- public unsigned short OpenMPCaptureLevel
Inherited from CapturingScopeInfo:
- public ImpCaptureStyle
- public CaptureMap
- public CXXThisCaptureIndex = 0
- public Captures
- public HasImplicitReturnType = false
- public ReturnType
Inherited from FunctionScopeInfo:
- public Kind
- public HasBranchProtectedScope
- public HasBranchIntoScope
- public HasIndirectGoto
- public HasMustTail
- public HasDroppedStmt
- public HasOMPDeclareReductionCombiner
- public HasFallthroughStmt
- public UsesFPIntrin
- public HasPotentialAvailabilityViolations
- public ObjCShouldCallSuper
- public ObjCIsDesignatedInit
- public ObjCWarnForNoDesignatedInitChain
- public ObjCIsSecondaryInit
- public ObjCWarnForNoInitDelegation
- public NeedsCoroutineSuspends
- public FirstCoroutineStmtKind
- public FirstCoroutineStmtLoc
- public FirstReturnLoc
- public FirstCXXOrObjCTryLoc
- public FirstTryType = Unknown
- public FirstSEHTryLoc
- public SwitchStack
- public Returns
- public CoroutinePromise = nullptr
- public CoroutineParameterMoves
- public CoroutineSuspends
- public CompoundScopes
- public Blocks
- public ByrefBlockVars
- public PossiblyUnreachableDiags
- public ModifiedNonNullParams
Method Overview
- public CapturedRegionScopeInfo(clang::DiagnosticsEngine & Diag, clang::Scope * S, clang::CapturedDecl * CD, clang::RecordDecl * RD, clang::ImplicitParamDecl * Context, clang::CapturedRegionKind K, unsigned int OpenMPLevel, unsigned int OpenMPCaptureLevel)
- public static bool classof(const clang::sema::FunctionScopeInfo * FSI)
- public llvm::StringRef getRegionName() const
- public ~CapturedRegionScopeInfo()
Inherited from CapturingScopeInfo:
- public addCapture
- public addThisCapture
- public addVLATypeCapture
- public classof
- public getCXXThisCapture
- public getCapture
- public getCapture
- public isCXXThisCaptured
- public isCaptured
- public isVLATypeCaptured
Inherited from FunctionScopeInfo:
- public Clear
- public NeedsScopeChecking
- public addBlock
- public addByrefBlockVar
- public getFirstCoroutineStmtKeyword
- public getWeakObjectUses
- public hasInvalidCoroutineSuspends
- public hasUnrecoverableErrorOccurred
- public isCoroutine
- public isPlainFunction
- public markSafeWeakUse
- public recordUseOfWeak
- public recordUseOfWeak
- public setCoroutineSuspends
- public setFirstCoroutineStmt
- public setHasBranchIntoScope
- public setHasBranchProtectedScope
- public setHasCXXTry
- public setHasDroppedStmt
- public setHasFallthroughStmt
- public setHasIndirectGoto
- public setHasMustTail
- public setHasOMPDeclareReductionCombiner
- public setHasObjCTry
- public setHasSEHTry
- public setNeedsCoroutineSuspends
- public setUsesFPIntrin
Methods
¶CapturedRegionScopeInfo(
clang::DiagnosticsEngine& Diag,
clang::Scope* S,
clang::CapturedDecl* CD,
clang::RecordDecl* RD,
clang::ImplicitParamDecl* Context,
clang::CapturedRegionKind K,
unsigned int OpenMPLevel,
unsigned int OpenMPCaptureLevel)
CapturedRegionScopeInfo(
clang::DiagnosticsEngine& Diag,
clang::Scope* S,
clang::CapturedDecl* CD,
clang::RecordDecl* RD,
clang::ImplicitParamDecl* Context,
clang::CapturedRegionKind K,
unsigned int OpenMPLevel,
unsigned int OpenMPCaptureLevel)
Declared at: clang/include/clang/Sema/ScopeInfo.h:799
Parameters
- clang::DiagnosticsEngine& Diag
- clang::Scope* S
- clang::CapturedDecl* CD
- clang::RecordDecl* RD
- clang::ImplicitParamDecl* Context
- clang::CapturedRegionKind K
- unsigned int OpenMPLevel
- unsigned int OpenMPCaptureLevel
¶static bool classof(
const clang::sema::FunctionScopeInfo* FSI)
static bool classof(
const clang::sema::FunctionScopeInfo* FSI)
Declared at: clang/include/clang/Sema/ScopeInfo.h:825
Parameters
- const clang::sema::FunctionScopeInfo* FSI
¶llvm::StringRef getRegionName() const
llvm::StringRef getRegionName() const
Description
A descriptive name for the kind of captured region this is.
Declared at: clang/include/clang/Sema/ScopeInfo.h:813
¶~CapturedRegionScopeInfo()
~CapturedRegionScopeInfo()
Declared at: clang/include/clang/Sema/ScopeInfo.h:810