Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/include/clang/Sema/
H A DScopeInfo.h350 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 DSema.h192 class CapturingScopeInfo; variable
4840 void deduceClosureReturnType(sema::CapturingScopeInfo &CSI);
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaLambda.cpp615 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 DScopeInfo.cpp98 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
H A DSemaStmt.cpp2617 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 DSemaExprCXX.cpp829 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 DSemaExpr.cpp10785 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 DSema.cpp1469 CapturingScopeInfo *CSI = new CapturedRegionScopeInfo( in PushCapturedRegionScope()
H A DSemaDecl.cpp10183 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
10185 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
10187 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()