Home
last modified time | relevance | path

Searched refs:LSI (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Sema/
DSemaLambda.cpp84 const clang::sema::LambdaScopeInfo *LSI = in getStackIndexOfNearestEnclosingCaptureReadyLambda() local
113 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) { in getStackIndexOfNearestEnclosingCaptureReadyLambda()
114 if (IsCapturingVariable && !LSI->isCaptured(VarToCapture)) in getStackIndexOfNearestEnclosingCaptureReadyLambda()
116 if (IsCapturingThis && !LSI->isCXXThisCaptured()) in getStackIndexOfNearestEnclosingCaptureReadyLambda()
225 getGenericLambdaTemplateParameterList(LambdaScopeInfo *LSI, Sema &SemaRef) { in getGenericLambdaTemplateParameterList() argument
226 if (LSI->GLTemplateParameterList) in getGenericLambdaTemplateParameterList()
227 return LSI->GLTemplateParameterList; in getGenericLambdaTemplateParameterList()
229 if (!LSI->AutoTemplateParams.empty()) { in getGenericLambdaTemplateParameterList()
230 SourceRange IntroRange = LSI->IntroducerRange; in getGenericLambdaTemplateParameterList()
233 LSI->GLTemplateParameterList = TemplateParameterList::Create( in getGenericLambdaTemplateParameterList()
[all …]
DSema.cpp1138 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); in PushLambdaScope() local
1139 FunctionScopes.push_back(LSI); in PushLambdaScope()
1140 return LSI; in PushLambdaScope()
1144 if (LambdaScopeInfo *const LSI = getCurLambda()) { in RecordParsingTemplateParameterDepth() local
1145 LSI->AutoTemplateParameterDepth = Depth; in RecordParsingTemplateParameterDepth()
1217 if (LambdaScopeInfo *LSI = getCurLambda()) { in getCurGenericLambda() local
1218 return (LSI->AutoTemplateParams.size() || in getCurGenericLambda()
1219 LSI->GLTemplateParameterList) ? LSI : nullptr; in getCurGenericLambda()
DScopeInfo.cpp108 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this)) in isVLATypeCaptured() local
109 RD = LSI->Lambda; in isVLATypeCaptured()
DSemaTemplateVariadic.cpp228 if (sema::LambdaScopeInfo *LSI = in DiagnoseUnexpandedParameterPacks() local
230 LSI->ContainsUnexpandedParameterPack = true; in DiagnoseUnexpandedParameterPacks()
DSemaExpr.cpp3062 else if (const LambdaScopeInfo *LSI = getCurLambda()) in BuildPredefinedExpr() local
3063 currentDecl = LSI->CallOperator; in BuildPredefinedExpr()
3890 if (auto LSI = dyn_cast<LambdaScopeInfo>(CSI)) { in captureVariablyModifiedType() local
3891 CapRecord = LSI->Lambda; in captureVariablyModifiedType()
3972 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CreateUnaryExprOrTypeTraitExpr() local
3973 DC = LSI->CallOperator; in CreateUnaryExprOrTypeTraitExpr()
13433 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, in addAsFieldToClosureType() argument
13437 CXXRecordDecl *Lambda = LSI->Lambda; in addAsFieldToClosureType()
13450 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda() argument
13467 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
[all …]
DSemaDecl.cpp11188 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo() local
11189 LSI->CallOperator = CallOperator; in RebuildLambdaScopeInfo()
11190 LSI->Lambda = LambdaClass; in RebuildLambdaScopeInfo()
11191 LSI->ReturnType = CallOperator->getReturnType(); in RebuildLambdaScopeInfo()
11195 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
11197 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
11199 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()
11202 LSI->IntroducerRange = DNI.getCXXOperatorNameRange(); in RebuildLambdaScopeInfo()
11203 LSI->Mutable = !CallOperator->isConst(); in RebuildLambdaScopeInfo()
11215 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo()
[all …]
DSemaType.cpp1571 sema::LambdaScopeInfo *LSI = S.getCurLambda(); in ConvertDeclSpecToType() local
1572 assert(LSI && "No LambdaScopeInfo on the stack!"); in ConvertDeclSpecToType()
1573 const unsigned TemplateParameterDepth = LSI->AutoTemplateParameterDepth; in ConvertDeclSpecToType()
1574 const unsigned AutoParameterPosition = LSI->AutoTemplateParams.size(); in ConvertDeclSpecToType()
1592 LSI->AutoTemplateParams.push_back(CorrespondingTemplateParam); in ConvertDeclSpecToType()
DSemaExprCXX.cpp1117 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); in CheckCXXThisCapture() local
1118 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) { in CheckCXXThisCapture()
1169 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI)) { in CheckCXXThisCapture() local
1173 ThisExpr = captureThis(*this, Context, LSI->Lambda, ThisTy, Loc, in CheckCXXThisCapture()
DTreeTransform.h10209 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); in TransformLambdaExpr() local
10211 LSI->GLTemplateParameterList = TPL; in TransformLambdaExpr()
10228 LSI->CallOperator = NewCallOperator; in TransformLambdaExpr()
10238 getSema().buildLambdaScope(LSI, NewCallOperator, in TransformLambdaExpr()
10256 getSema().finishLambdaExplicitCaptures(LSI); in TransformLambdaExpr()
10291 getSema().buildInitCaptureField(LSI, NewVD); in TransformLambdaExpr()
10359 getSema().finishLambdaExplicitCaptures(LSI); in TransformLambdaExpr()
10382 auto LSICopy = *LSI; in TransformLambdaExpr()
/external/ImageMagick/PerlMagick/t/reference/filter/
DRotate.miff15 …���������������������������������������������������������������������������LSI(.(*.-.2/9@67C1DV;Hb…
/external/clang/include/clang/Sema/
DSema.h5113 void buildLambdaScope(sema::LambdaScopeInfo *LSI,
5146 FieldDecl *buildInitCaptureField(sema::LambdaScopeInfo *LSI, VarDecl *Var);
5150 void finishLambdaExplicitCaptures(sema::LambdaScopeInfo *LSI);
5179 sema::LambdaScopeInfo *LSI);