Searched refs:CapturingScopeInfo (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | ScopeInfo.h | 698 class CapturingScopeInfo : public FunctionScopeInfo { 700 CapturingScopeInfo(const CapturingScopeInfo&) = default; 710 CapturingScopeInfo(DiagnosticsEngine &Diag, ImplicitCaptureStyle Style) in CapturingScopeInfo() function 784 class BlockScopeInfo final : public CapturingScopeInfo { 797 : CapturingScopeInfo(Diag, ImpCap_Block), TheDecl(Block), in BlockScopeInfo() 810 class CapturedRegionScopeInfo final : public CapturingScopeInfo { 834 : CapturingScopeInfo(Diag, ImpCap_CapturedRegion), in CapturedRegionScopeInfo() 862 public CapturingScopeInfo, public InventedTemplateParameterInfo { 953 : CapturingScopeInfo(Diag, ImpCap_None) { in LambdaScopeInfo() 1093 inline void CapturingScopeInfo::addThisCapture(bool isNested, in addThisCapture()
|
H A D | Sema.h | 237 class CapturingScopeInfo; variable 8805 void deduceClosureReturnType(sema::CapturingScopeInfo &CSI);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 690 void Sema::deduceClosureReturnType(CapturingScopeInfo &CSI) { in deduceClosureReturnType() 1953 mapImplicitCaptureStyle(CapturingScopeInfo::ImplicitCaptureStyle ICS) { in mapImplicitCaptureStyle() 1955 case CapturingScopeInfo::ImpCap_None: in mapImplicitCaptureStyle() 1957 case CapturingScopeInfo::ImpCap_LambdaByval: in mapImplicitCaptureStyle() 1959 case CapturingScopeInfo::ImpCap_CapturedRegion: in mapImplicitCaptureStyle() 1960 case CapturingScopeInfo::ImpCap_LambdaByref: in mapImplicitCaptureStyle() 1962 case CapturingScopeInfo::ImpCap_Block: in mapImplicitCaptureStyle()
|
H A D | ScopeInfo.cpp | 229 bool CapturingScopeInfo::isVLATypeCaptured(const VariableArrayType *VAT) const { in isVLATypeCaptured()
|
H A D | SemaExprCXX.cpp | 1288 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval && in buildLambdaThisCaptureFixit() 1334 if (CapturingScopeInfo *CSI = in CheckCXXThisCapture() 1335 dyn_cast<CapturingScopeInfo>(FunctionScopes[idx])) { in CheckCXXThisCapture() 1353 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref || in CheckCXXThisCapture() 1354 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval || in CheckCXXThisCapture() 1355 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block || in CheckCXXThisCapture() 1356 CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_CapturedRegion || in CheckCXXThisCapture() 1396 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[idx]); in CheckCXXThisCapture()
|
H A D | SemaStmt.cpp | 3418 CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction()); in ActOnCapScopeReturnStmt() 3794 if (isa<CapturingScopeInfo>(getCurFunction())) in BuildReturnStmt()
|
H A D | SemaExpr.cpp | 4373 CapturingScopeInfo *CSI) { in captureVariablyModifiedType() 4566 auto *CSI = dyn_cast<CapturingScopeInfo>(*I); in CheckUnaryExprOrTypeTraitOperand() 5278 auto *CSI = dyn_cast<CapturingScopeInfo>(*I); in CreateBuiltinArraySubscriptExpr() 18241 static bool isVariableAlreadyCapturedInScopeInfo(CapturingScopeInfo *CSI, in isVariableAlreadyCapturedInScopeInfo() 18293 static bool isVariableCapturable(CapturingScopeInfo *CSI, ValueDecl *Var, in isVariableCapturable() 18611 assert(LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None); in buildLambdaCaptureFixit() 18797 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FSI); in tryCaptureVariable() 18820 if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) { in tryCaptureVariable() 18907 if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) { in tryCaptureVariable() 18946 CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]); in tryCaptureVariable()
|
H A D | Sema.cpp | 2396 while (I != E && isa<CapturingScopeInfo>(*I) && !isa<LambdaScopeInfo>(*I)) in getCurLambda()
|
H A D | SemaDecl.cpp | 15372 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo() 15374 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo() 15376 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()
|
H A D | SemaOpenMP.cpp | 479 assert(!isa<CapturingScopeInfo>(CurFnScope)); in pushFunction() 492 if (!isa<CapturingScopeInfo>(FSI)) { in popFunction() 2393 if (!isa<CapturingScopeInfo>(FSI)) in isOpenMPCapturedDecl() 2422 if (!isa<CapturingScopeInfo>(FSI)) in isOpenMPCapturedDecl()
|