Home
last modified time | relevance | path

Searched refs:CapturingScopeInfo (Results 1 – 9 of 9) sorted by relevance

/external/clang/include/clang/Sema/
DScopeInfo.h380 class CapturingScopeInfo : public FunctionScopeInfo {
382 CapturingScopeInfo(const CapturingScopeInfo&) = default;
490 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) in CapturingScopeInfo() function
569 class BlockScopeInfo final : public CapturingScopeInfo {
582 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo()
596 class CapturedRegionScopeInfo final : public CapturingScopeInfo {
612 : CapturingScopeInfo(Diag, ImpCap_CapturedRegion), in CapturedRegionScopeInfo()
637 class LambdaScopeInfo final : public CapturingScopeInfo {
709 : CapturingScopeInfo(Diag, ImpCap_None), Lambda(nullptr), in LambdaScopeInfo()
848 CapturingScopeInfo::addThisCapture(bool isNested, SourceLocation Loc, in addThisCapture()
DSema.h194 class CapturingScopeInfo; variable
5039 void deduceClosureReturnType(sema::CapturingScopeInfo &CSI);
/external/clang/lib/Sema/
DSemaLambda.cpp615 void Sema::deduceClosureReturnType(CapturingScopeInfo &CSI) { in deduceClosureReturnType()
1467 mapImplicitCaptureStyle(CapturingScopeInfo::ImplicitCaptureStyle ICS) { in mapImplicitCaptureStyle()
1469 case CapturingScopeInfo::ImpCap_None: in mapImplicitCaptureStyle()
1471 case CapturingScopeInfo::ImpCap_LambdaByval: in mapImplicitCaptureStyle()
1473 case CapturingScopeInfo::ImpCap_CapturedRegion: in mapImplicitCaptureStyle()
1474 case CapturingScopeInfo::ImpCap_LambdaByref: in mapImplicitCaptureStyle()
1476 case CapturingScopeInfo::ImpCap_Block: in mapImplicitCaptureStyle()
DScopeInfo.cpp103 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
DSemaExprCXX.cpp910 if (CapturingScopeInfo *CSI = in CheckCXXThisCapture()
911 dyn_cast<CapturingScopeInfo>(FunctionScopes[idx])) { in CheckCXXThisCapture()
923 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref || in CheckCXXThisCapture()
924 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval || in CheckCXXThisCapture()
925 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block || in CheckCXXThisCapture()
926 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_CapturedRegion || in CheckCXXThisCapture()
946 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[idx]); in CheckCXXThisCapture()
DSemaStmt.cpp2821 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt()
3121 if (isa<CapturingScopeInfo>(getCurFunction())) in BuildReturnStmt()
3788 ArrayRef<CapturingScopeInfo::Capture> Candidates) { in buildCapturedStmtCaptureList()
3790 typedef ArrayRef<CapturingScopeInfo::Capture>::const_iterator CaptureIter; in buildCapturedStmtCaptureList()
DSema.cpp1511 CapturingScopeInfo *CSI = new CapturedRegionScopeInfo( in PushCapturedRegionScope()
DSemaExpr.cpp11586 for (CapturingScopeInfo::Capture &Cap : BSI->Captures) { in ActOnBlockStmtExpr()
12631 static bool isVariableAlreadyCapturedInScopeInfo(CapturingScopeInfo *CSI, VarDecl *Var, in isVariableAlreadyCapturedInScopeInfo()
12649 const CapturingScopeInfo::Capture &Cap = CSI->getCapture(Var); in isVariableAlreadyCapturedInScopeInfo()
12677 static bool isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var, in isVariableCapturable()
13070 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FSI); in tryCaptureVariable()
13084 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable()
13245 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) { in tryCaptureVariable()
13281 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]); in tryCaptureVariable()
DSemaDecl.cpp10786 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
10788 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
10790 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()