Searched refs:CapturingScopeInfo (Results 1 – 9 of 9) sorted by relevance
/minix/external/bsd/llvm/dist/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 350 class CapturingScopeInfo : public FunctionScopeInfo { 457 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) in CapturingScopeInfo() function 536 class BlockScopeInfo : public CapturingScopeInfo { 549 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo() 563 class CapturedRegionScopeInfo: public CapturingScopeInfo { 579 : CapturingScopeInfo(Diag, ImpCap_CapturedRegion), in CapturedRegionScopeInfo() 604 class LambdaScopeInfo : public CapturingScopeInfo { 683 : CapturingScopeInfo(Diag, ImpCap_None), Lambda(nullptr), in LambdaScopeInfo() 824 CapturingScopeInfo::addThisCapture(bool isNested, SourceLocation Loc, in addThisCapture()
|
H A D | Sema.h | 192 class CapturingScopeInfo; variable 4840 void deduceClosureReturnType(sema::CapturingScopeInfo &CSI);
|
/minix/external/bsd/llvm/dist/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 615 void Sema::deduceClosureReturnType(CapturingScopeInfo &CSI) { in deduceClosureReturnType() 1437 case CapturingScopeInfo::ImpCap_None: in ActOnLambdaExpr() 1441 case CapturingScopeInfo::ImpCap_LambdaByval: in ActOnLambdaExpr() 1445 case CapturingScopeInfo::ImpCap_CapturedRegion: in ActOnLambdaExpr() 1446 case CapturingScopeInfo::ImpCap_LambdaByref: in ActOnLambdaExpr() 1450 case CapturingScopeInfo::ImpCap_Block: in ActOnLambdaExpr()
|
H A D | ScopeInfo.cpp | 98 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
|
H A D | SemaStmt.cpp | 2617 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() 2914 if (isa<CapturingScopeInfo>(getCurFunction())) in BuildReturnStmt() 3446 ArrayRef<CapturingScopeInfo::Capture> Candidates) { in buildCapturedStmtCaptureList() 3448 typedef ArrayRef<CapturingScopeInfo::Capture>::const_iterator CaptureIter; in buildCapturedStmtCaptureList()
|
H A D | SemaExprCXX.cpp | 829 if (CapturingScopeInfo *CSI = in CheckCXXThisCapture() 830 dyn_cast<CapturingScopeInfo>(FunctionScopes[idx])) { in CheckCXXThisCapture() 842 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref || in CheckCXXThisCapture() 843 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval || in CheckCXXThisCapture() 844 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block || in CheckCXXThisCapture() 845 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_CapturedRegion || in CheckCXXThisCapture() 865 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[idx]); in CheckCXXThisCapture()
|
H A D | SemaExpr.cpp | 10785 CapturingScopeInfo::Capture &Cap = BSI->Captures[i]; in ActOnBlockStmtExpr() 11795 static bool isVariableAlreadyCapturedInScopeInfo(CapturingScopeInfo *CSI, VarDecl *Var, in isVariableAlreadyCapturedInScopeInfo() 11810 const CapturingScopeInfo::Capture &Cap = CSI->getCapture(Var); in isVariableAlreadyCapturedInScopeInfo() 11836 static bool isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var, in isVariableCapturable() 12325 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FSI); in tryCaptureVariable() 12339 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable() 12477 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) { in tryCaptureVariable() 12513 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]); in tryCaptureVariable()
|
H A D | Sema.cpp | 1469 CapturingScopeInfo *CSI = new CapturedRegionScopeInfo( in PushCapturedRegionScope()
|
H A D | SemaDecl.cpp | 10183 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo() 10185 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo() 10187 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()
|