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.size()) { in getGenericLambdaTemplateParameterList()
230 SourceRange IntroRange = LSI->IntroducerRange; in getGenericLambdaTemplateParameterList()
233 LSI->GLTemplateParameterList = TemplateParameterList::Create( in getGenericLambdaTemplateParameterList()
[all …]
DSema.cpp1145 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); in PushLambdaScope() local
1146 FunctionScopes.push_back(LSI); in PushLambdaScope()
1147 return LSI; in PushLambdaScope()
1151 if (LambdaScopeInfo *const LSI = getCurLambda()) { in RecordParsingTemplateParameterDepth() local
1152 LSI->AutoTemplateParameterDepth = Depth; in RecordParsingTemplateParameterDepth()
1224 if (LambdaScopeInfo *LSI = getCurLambda()) { in getCurGenericLambda() local
1225 return (LSI->AutoTemplateParams.size() || in getCurGenericLambda()
1226 LSI->GLTemplateParameterList) ? LSI : nullptr; in getCurGenericLambda()
DScopeInfo.cpp105 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this)) in isVLATypeCaptured() local
106 RD = LSI->Lambda; in isVLATypeCaptured()
DSemaTemplateVariadic.cpp228 if (sema::LambdaScopeInfo *LSI = in DiagnoseUnexpandedParameterPacks() local
230 LSI->ContainsUnexpandedParameterPack = true; in DiagnoseUnexpandedParameterPacks()
DSemaExpr.cpp2997 else if (const LambdaScopeInfo *LSI = getCurLambda()) in BuildPredefinedExpr() local
2998 currentDecl = LSI->CallOperator; in BuildPredefinedExpr()
12884 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, VarDecl *Var, in addAsFieldToClosureType() argument
12888 CXXRecordDecl *Lambda = LSI->Lambda; in addAsFieldToClosureType()
12901 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda() argument
12918 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda()
12978 addAsFieldToClosureType(S, LSI, Var, CaptureType, DeclRefType, Loc, in captureInLambda()
12991 if (!LSI->Mutable && !CaptureType->isReferenceType()) in captureInLambda()
12997 LSI->addCapture(Var, /*IsBlock=*/false, ByRef, RefersToCapturedVariable, in captureInLambda()
13083 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); in tryCaptureVariable() local
[all …]
DSemaDecl.cpp10779 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo() local
10780 LSI->CallOperator = CallOperator; in RebuildLambdaScopeInfo()
10781 LSI->Lambda = LambdaClass; in RebuildLambdaScopeInfo()
10782 LSI->ReturnType = CallOperator->getReturnType(); in RebuildLambdaScopeInfo()
10786 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo()
10788 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo()
10790 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo()
10793 LSI->IntroducerRange = DNI.getCXXOperatorNameRange(); in RebuildLambdaScopeInfo()
10794 LSI->Mutable = !CallOperator->isConst(); in RebuildLambdaScopeInfo()
10806 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo()
[all …]
DSemaExprCXX.cpp916 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); in CheckCXXThisCapture() local
917 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) { in CheckCXXThisCapture()
949 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CheckCXXThisCapture() local
951 ThisExpr = captureThis(Context, LSI->Lambda, ThisTy, Loc); in CheckCXXThisCapture()
DSemaType.cpp1480 sema::LambdaScopeInfo *LSI = S.getCurLambda(); in ConvertDeclSpecToType() local
1481 assert(LSI && "No LambdaScopeInfo on the stack!"); in ConvertDeclSpecToType()
1482 const unsigned TemplateParameterDepth = LSI->AutoTemplateParameterDepth; in ConvertDeclSpecToType()
1483 const unsigned AutoParameterPosition = LSI->AutoTemplateParams.size(); in ConvertDeclSpecToType()
1501 LSI->AutoTemplateParams.push_back(CorrespondingTemplateParam); in ConvertDeclSpecToType()
DTreeTransform.h9876 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); in TransformLambdaExpr() local
9878 LSI->GLTemplateParameterList = TPL; in TransformLambdaExpr()
9893 LSI->CallOperator = NewCallOperator; in TransformLambdaExpr()
9903 getSema().buildLambdaScope(LSI, NewCallOperator, in TransformLambdaExpr()
9921 getSema().finishLambdaExplicitCaptures(LSI); in TransformLambdaExpr()
9954 getSema().buildInitCaptureField(LSI, NewVD); in TransformLambdaExpr()
10022 getSema().finishLambdaExplicitCaptures(LSI); in TransformLambdaExpr()
10045 auto LSICopy = *LSI; in TransformLambdaExpr()
/external/autotest/client/tests/kvm/
Dsubtests.cfg.sample643 match_string = "LSI Logic"
/external/clang/include/clang/Sema/
DSema.h4995 void buildLambdaScope(sema::LambdaScopeInfo *LSI,
5028 FieldDecl *buildInitCaptureField(sema::LambdaScopeInfo *LSI, VarDecl *Var);
5032 void finishLambdaExplicitCaptures(sema::LambdaScopeInfo *LSI);
5061 sema::LambdaScopeInfo *LSI);