Home
last modified time | relevance | path

Searched refs:LambdaScopeInfo (Results 1 – 14 of 14) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaLambda.cpp70 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 …]
HDScopeInfo.cpp102 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this)) in isVLATypeCaptured()
219 void LambdaScopeInfo::getPotentialVariableCapture(unsigned Idx, VarDecl *&VD, in getPotentialVariableCapture()
237 LambdaScopeInfo::~LambdaScopeInfo() { } in ~LambdaScopeInfo()
HDSema.cpp1116 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()
HDSemaTemplateVariadic.cpp209 if (isa<sema::LambdaScopeInfo>(SI)) in isUnexpandedParameterPackPermitted()
228 if (sema::LambdaScopeInfo *LSI = in DiagnoseUnexpandedParameterPacks()
229 dyn_cast<sema::LambdaScopeInfo>(FunctionScopes[N-1])) { in DiagnoseUnexpandedParameterPacks()
HDSemaExprCXX.cpp916 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()
HDSemaExpr.cpp3023 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 …]
HDSemaStmt.cpp2788 LambdaScopeInfo *CurLambda = dyn_cast<LambdaScopeInfo>(CurCap); in ActOnCapScopeReturnStmt()
3040 const LambdaScopeInfo *LambdaSI = getCurLambda(); in DeduceFunctionTypeFromReturnExpr()
HDSemaExprMember.cpp897 LambdaScopeInfo *const CurLSI = getCurLambda(); in BuildMemberReferenceExpr()
HDAnalysisBasedWarnings.cpp1262 else if (isa<sema::LambdaScopeInfo>(CurFn)) in diagnoseRepeatedUseOfWeak()
HDSemaType.cpp1459 sema::LambdaScopeInfo *LSI = S.getCurLambda(); in ConvertDeclSpecToType()
HDTreeTransform.h9445 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); in TransformLambdaExpr()
HDSemaDecl.cpp10484 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDScopeInfo.h620 class LambdaScopeInfo : public CapturingScopeInfo {
691 LambdaScopeInfo(DiagnosticsEngine &Diag) in LambdaScopeInfo() function
700 ~LambdaScopeInfo() override;
HDSema.h198 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);