Searched refs:CapturingScopeInfo (Results 1 – 9 of 9) sorted by relevance
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 398 class CapturingScopeInfo : public FunctionScopeInfo { 400 CapturingScopeInfo(const CapturingScopeInfo&) = default; 515 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) in CapturingScopeInfo() function 597 class BlockScopeInfo final : public CapturingScopeInfo { 610 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo() 624 class CapturedRegionScopeInfo final : public CapturingScopeInfo { 641 : CapturingScopeInfo(Diag, ImpCap_CapturedRegion), in CapturedRegionScopeInfo() 666 class LambdaScopeInfo final : public CapturingScopeInfo { 738 : CapturingScopeInfo(Diag, ImpCap_None), Lambda(nullptr), in LambdaScopeInfo() 877 CapturingScopeInfo::addThisCapture(bool isNested, SourceLocation Loc, in addThisCapture()
|
D | Sema.h | 197 class CapturingScopeInfo; variable 5157 void deduceClosureReturnType(sema::CapturingScopeInfo &CSI);
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 616 void Sema::deduceClosureReturnType(CapturingScopeInfo &CSI) { in deduceClosureReturnType() 1474 mapImplicitCaptureStyle(CapturingScopeInfo::ImplicitCaptureStyle ICS) { in mapImplicitCaptureStyle() 1476 case CapturingScopeInfo::ImpCap_None: in mapImplicitCaptureStyle() 1478 case CapturingScopeInfo::ImpCap_LambdaByval: in mapImplicitCaptureStyle() 1480 case CapturingScopeInfo::ImpCap_CapturedRegion: in mapImplicitCaptureStyle() 1481 case CapturingScopeInfo::ImpCap_LambdaByref: in mapImplicitCaptureStyle() 1483 case CapturingScopeInfo::ImpCap_Block: in mapImplicitCaptureStyle()
|
D | ScopeInfo.cpp | 106 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
|
D | SemaExprCXX.cpp | 1111 if (CapturingScopeInfo *CSI = in CheckCXXThisCapture() 1112 dyn_cast<CapturingScopeInfo>(FunctionScopes[idx])) { in CheckCXXThisCapture() 1125 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref || in CheckCXXThisCapture() 1126 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval || in CheckCXXThisCapture() 1127 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block || in CheckCXXThisCapture() 1128 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_CapturedRegion || in CheckCXXThisCapture() 1166 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[idx]); in CheckCXXThisCapture()
|
D | SemaStmt.cpp | 2863 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() 3181 if (isa<CapturingScopeInfo>(getCurFunction())) in BuildReturnStmt() 3856 ArrayRef<CapturingScopeInfo::Capture> Candidates) { in buildCapturedStmtCaptureList() 3858 typedef ArrayRef<CapturingScopeInfo::Capture>::const_iterator CaptureIter; in buildCapturedStmtCaptureList()
|
D | SemaExpr.cpp | 3827 CapturingScopeInfo *CSI) { in captureVariablyModifiedType() 3968 auto *CSI = dyn_cast<CapturingScopeInfo>(*I); in CreateUnaryExprOrTypeTraitExpr() 12118 for (CapturingScopeInfo::Capture &Cap : BSI->Captures) { in ActOnBlockStmtExpr() 13180 static bool isVariableAlreadyCapturedInScopeInfo(CapturingScopeInfo *CSI, VarDecl *Var, in isVariableAlreadyCapturedInScopeInfo() 13198 const CapturingScopeInfo::Capture &Cap = CSI->getCapture(Var); in isVariableAlreadyCapturedInScopeInfo() 13226 static bool isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var, in isVariableCapturable() 13618 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FSI); in tryCaptureVariable() 13632 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable() 13680 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) { in tryCaptureVariable() 13717 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]); in tryCaptureVariable()
|
D | Sema.cpp | 1504 CapturingScopeInfo *CSI = new CapturedRegionScopeInfo( in PushCapturedRegionScope()
|
D | SemaDecl.cpp | 11195 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo() 11197 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo() 11199 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()
|