Searched refs:LambdaScopeInfo (Results 1 – 14 of 14) sorted by relevance
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaLambda.cpp | 70 isa<clang::sema::LambdaScopeInfo>( in getStackIndexOfNearestEnclosingCaptureReadyLambda() 81 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex])->CallOperator; in getStackIndexOfNearestEnclosingCaptureReadyLambda() 84 const clang::sema::LambdaScopeInfo *LSI = in getStackIndexOfNearestEnclosingCaptureReadyLambda() 85 cast<sema::LambdaScopeInfo>(FunctionScopes[CurScopeIndex]); in getStackIndexOfNearestEnclosingCaptureReadyLambda() 113 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) { in getStackIndexOfNearestEnclosingCaptureReadyLambda() 188 const sema::LambdaScopeInfo *const CaptureReadyLambdaLSI = in getStackIndexOfNearestEnclosingCaptureCapableLambda() 189 cast<sema::LambdaScopeInfo>(FunctionScopes[IndexOfCaptureReadyLambda]); in getStackIndexOfNearestEnclosingCaptureCapableLambda() 225 getGenericLambdaTemplateParameterList(LambdaScopeInfo *LSI, Sema &SemaRef) { in getGenericLambdaTemplateParameterList() 435 void Sema::buildLambdaScope(LambdaScopeInfo *LSI, in buildLambdaScope() 447 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval; in buildLambdaScope() [all …]
|
| HD | ScopeInfo.cpp | 102 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this)) in isVLATypeCaptured() 219 void LambdaScopeInfo::getPotentialVariableCapture(unsigned Idx, VarDecl *&VD, in getPotentialVariableCapture() 237 LambdaScopeInfo::~LambdaScopeInfo() { } in ~LambdaScopeInfo()
|
| HD | Sema.cpp | 1116 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope() 1117 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); in PushLambdaScope() 1123 if (LambdaScopeInfo *const LSI = getCurLambda()) { in RecordParsingTemplateParameterDepth() 1179 LambdaScopeInfo *Sema::getCurLambda() { in getCurLambda() 1183 auto CurLSI = dyn_cast<LambdaScopeInfo>(FunctionScopes.back()); in getCurLambda() 1195 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda() 1196 if (LambdaScopeInfo *LSI = getCurLambda()) { in getCurGenericLambda()
|
| HD | SemaTemplateVariadic.cpp | 209 if (isa<sema::LambdaScopeInfo>(SI)) in isUnexpandedParameterPackPermitted() 228 if (sema::LambdaScopeInfo *LSI = in DiagnoseUnexpandedParameterPacks() 229 dyn_cast<sema::LambdaScopeInfo>(FunctionScopes[N-1])) { in DiagnoseUnexpandedParameterPacks()
|
| HD | SemaExprCXX.cpp | 916 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); in CheckCXXThisCapture() 949 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CheckCXXThisCapture() 6232 Expr *const FE, LambdaScopeInfo *const CurrentLSI, Sema &S) { in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() 6693 LambdaScopeInfo *const CurrentLSI = getCurLambda(); in ActOnFinishFullExpr()
|
| HD | SemaExpr.cpp | 3023 else if (const LambdaScopeInfo *LSI = getCurLambda()) in BuildPredefinedExpr() 12423 !(isa<LambdaScopeInfo>(CSI) && cast<LambdaScopeInfo>(CSI)->Mutable)) in isVariableAlreadyCapturedInScopeInfo() 12452 bool IsLambda = isa<LambdaScopeInfo>(CSI); in isVariableCapturable() 12646 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, VarDecl *Var, in addAsFieldToClosureType() 12663 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda() 12680 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda() 12860 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable() 12941 if (auto LSI = dyn_cast<LambdaScopeInfo>(CSI)) { in tryCaptureVariable() 13006 Diag(cast<LambdaScopeInfo>(CSI)->Lambda->getLocStart(), in tryCaptureVariable() 13050 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable() [all …]
|
| HD | SemaStmt.cpp | 2788 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt() 3040 const LambdaScopeInfo *LambdaSI = getCurLambda(); in DeduceFunctionTypeFromReturnExpr()
|
| HD | SemaExprMember.cpp | 897 LambdaScopeInfo *const CurLSI = getCurLambda(); in BuildMemberReferenceExpr()
|
| HD | AnalysisBasedWarnings.cpp | 1262 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
|
| HD | SemaType.cpp | 1459 sema::LambdaScopeInfo *LSI = S.getCurLambda(); in ConvertDeclSpecToType()
|
| HD | TreeTransform.h | 9445 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); in TransformLambdaExpr()
|
| HD | SemaDecl.cpp | 10484 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | ScopeInfo.h | 620 class LambdaScopeInfo : public CapturingScopeInfo { 691 LambdaScopeInfo(DiagnosticsEngine &Diag) in LambdaScopeInfo() function 700 ~LambdaScopeInfo() override;
|
| HD | Sema.h | 198 class LambdaScopeInfo; variable 1122 sema::LambdaScopeInfo *PushLambdaScope(); 1170 sema::LambdaScopeInfo *getCurLambda(); 1173 sema::LambdaScopeInfo *getCurGenericLambda(); 4927 void buildLambdaScope(sema::LambdaScopeInfo *LSI, 4950 FieldDecl *buildInitCaptureField(sema::LambdaScopeInfo *LSI, VarDecl *Var); 4954 void finishLambdaExplicitCaptures(sema::LambdaScopeInfo *LSI); 4983 sema::LambdaScopeInfo *LSI);
|