Searched refs:LambdaScopeInfo (Results 1 – 14 of 14) sorted by relevance
/external/clang/lib/Sema/ |
D | 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() 436 void Sema::buildLambdaScope(LambdaScopeInfo *LSI, in buildLambdaScope() 448 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval; in buildLambdaScope() [all …]
|
D | Sema.cpp | 1137 LambdaScopeInfo *Sema::PushLambdaScope() { in PushLambdaScope() 1138 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); in PushLambdaScope() 1144 if (LambdaScopeInfo *const LSI = getCurLambda()) { in RecordParsingTemplateParameterDepth() 1200 LambdaScopeInfo *Sema::getCurLambda() { in getCurLambda() 1204 auto CurLSI = dyn_cast<LambdaScopeInfo>(FunctionScopes.back()); in getCurLambda() 1216 LambdaScopeInfo *Sema::getCurGenericLambda() { in getCurGenericLambda() 1217 if (LambdaScopeInfo *LSI = getCurLambda()) { in getCurGenericLambda()
|
D | ScopeInfo.cpp | 108 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this)) in isVLATypeCaptured() 225 void LambdaScopeInfo::getPotentialVariableCapture(unsigned Idx, VarDecl *&VD, in getPotentialVariableCapture()
|
D | 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()
|
D | SemaExprCXX.cpp | 880 LambdaScopeInfo *CurLSI = nullptr; in adjustCVQualifiersForCXXThisWithinLambda() 903 I-- && isa<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda() 905 CurLSI = cast<LambdaScopeInfo>(FunctionScopes[I]); in adjustCVQualifiersForCXXThisWithinLambda() 1117 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); in CheckCXXThisCapture() 1158 dyn_cast<LambdaScopeInfo>(FunctionScopes[MaxFunctionScopesIndex])) && in CheckCXXThisCapture() 1169 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI)) { in CheckCXXThisCapture() 6589 Expr *const FE, LambdaScopeInfo *const CurrentLSI, Sema &S) { in CheckIfAnyEnclosingLambdasMustCaptureAnyPotentialCaptures() 7060 LambdaScopeInfo *const CurrentLSI = getCurLambda(); in ActOnFinishFullExpr()
|
D | SemaExpr.cpp | 3062 else if (const LambdaScopeInfo *LSI = getCurLambda()) in BuildPredefinedExpr() 3890 if (auto LSI = dyn_cast<LambdaScopeInfo>(CSI)) { in captureVariablyModifiedType() 3972 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CreateUnaryExprOrTypeTraitExpr() 13200 !(isa<LambdaScopeInfo>(CSI) && cast<LambdaScopeInfo>(CSI)->Mutable) && in isVariableAlreadyCapturedInScopeInfo() 13231 bool IsLambda = isa<LambdaScopeInfo>(CSI); in isVariableCapturable() 13433 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, in addAsFieldToClosureType() 13450 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda() 13467 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda() 13631 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable() 13687 if (cast<LambdaScopeInfo>(CSI)->Lambda) in tryCaptureVariable() [all …]
|
D | SemaStmt.cpp | 2865 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt() 3137 const LambdaScopeInfo *LambdaSI = getCurLambda(); in DeduceFunctionTypeFromReturnExpr()
|
D | SemaExprMember.cpp | 978 LambdaScopeInfo *const CurLSI = getCurLambda(); in BuildMemberReferenceExpr()
|
D | AnalysisBasedWarnings.cpp | 1291 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
|
D | SemaType.cpp | 1571 sema::LambdaScopeInfo *LSI = S.getCurLambda(); in ConvertDeclSpecToType()
|
D | TreeTransform.h | 10209 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); in TransformLambdaExpr()
|
D | SemaDecl.cpp | 11188 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 666 class LambdaScopeInfo final : public CapturingScopeInfo { 737 LambdaScopeInfo(DiagnosticsEngine &Diag) in LambdaScopeInfo() function
|
D | Sema.h | 202 class LambdaScopeInfo; variable 1172 sema::LambdaScopeInfo *PushLambdaScope(); 1220 sema::LambdaScopeInfo *getCurLambda(); 1223 sema::LambdaScopeInfo *getCurGenericLambda(); 5113 void buildLambdaScope(sema::LambdaScopeInfo *LSI, 5146 FieldDecl *buildInitCaptureField(sema::LambdaScopeInfo *LSI, VarDecl *Var); 5150 void finishLambdaExplicitCaptures(sema::LambdaScopeInfo *LSI); 5179 sema::LambdaScopeInfo *LSI);
|