Searched refs:LSI (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 84 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 …]
|
D | Sema.cpp | 1095 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); in PushLambdaScope() local 1096 FunctionScopes.push_back(LSI); in PushLambdaScope() 1097 return LSI; in PushLambdaScope() 1101 if (LambdaScopeInfo *const LSI = getCurLambda()) { in RecordParsingTemplateParameterDepth() local 1102 LSI->AutoTemplateParameterDepth = Depth; in RecordParsingTemplateParameterDepth() 1174 if (LambdaScopeInfo *LSI = getCurLambda()) { in getCurGenericLambda() local 1175 return (LSI->AutoTemplateParams.size() || in getCurGenericLambda() 1176 LSI->GLTemplateParameterList) ? LSI : nullptr; in getCurGenericLambda()
|
D | ScopeInfo.cpp | 102 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this)) in isVLATypeCaptured() local 103 RD = LSI->Lambda; in isVLATypeCaptured()
|
D | SemaTemplateVariadic.cpp | 228 if (sema::LambdaScopeInfo *LSI = in DiagnoseUnexpandedParameterPacks() local 230 LSI->ContainsUnexpandedParameterPack = true; in DiagnoseUnexpandedParameterPacks()
|
D | SemaExpr.cpp | 3003 else if (const LambdaScopeInfo *LSI = getCurLambda()) in BuildPredefinedExpr() local 3004 currentDecl = LSI->CallOperator; in BuildPredefinedExpr() 12539 LambdaScopeInfo *LSI, in addAsFieldToClosureType() argument 12544 CXXRecordDecl *Lambda = LSI->Lambda; in addAsFieldToClosureType() 12584 LSI->ArrayIndexStarts.push_back(LSI->ArrayIndexVars.size()); in addAsFieldToClosureType() 12601 LSI->ArrayIndexVars.push_back(IterationVar); in addAsFieldToClosureType() 12649 LSI->ExprNeedsCleanups = true; in addAsFieldToClosureType() 12660 static bool captureInLambda(LambdaScopeInfo *LSI, in captureInLambda() argument 12677 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); in captureInLambda() 12738 ExprResult Result = addAsFieldToClosureType(S, LSI, Var, in captureInLambda() [all …]
|
D | SemaType.cpp | 1031 sema::LambdaScopeInfo *LSI = S.getCurLambda(); in ConvertDeclSpecToType() local 1032 assert(LSI && "No LambdaScopeInfo on the stack!"); in ConvertDeclSpecToType() 1033 const unsigned TemplateParameterDepth = LSI->AutoTemplateParameterDepth; in ConvertDeclSpecToType() 1034 const unsigned AutoParameterPosition = LSI->AutoTemplateParams.size(); in ConvertDeclSpecToType() 1052 LSI->AutoTemplateParams.push_back(CorrespondingTemplateParam); in ConvertDeclSpecToType()
|
D | SemaDecl.cpp | 10300 LambdaScopeInfo *LSI = S.PushLambdaScope(); in RebuildLambdaScopeInfo() local 10301 LSI->CallOperator = CallOperator; in RebuildLambdaScopeInfo() 10302 LSI->Lambda = LambdaClass; in RebuildLambdaScopeInfo() 10303 LSI->ReturnType = CallOperator->getReturnType(); in RebuildLambdaScopeInfo() 10307 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; in RebuildLambdaScopeInfo() 10309 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; in RebuildLambdaScopeInfo() 10311 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; in RebuildLambdaScopeInfo() 10314 LSI->IntroducerRange = DNI.getCXXOperatorNameRange(); in RebuildLambdaScopeInfo() 10315 LSI->Mutable = !CallOperator->isConst(); in RebuildLambdaScopeInfo() 10327 LSI->addCapture(VD, /*IsBlock*/false, ByRef, in RebuildLambdaScopeInfo() [all …]
|
D | SemaExprCXX.cpp | 917 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); in CheckCXXThisCapture() local 918 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) { in CheckCXXThisCapture() 950 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI)) in CheckCXXThisCapture() local 952 ThisExpr = captureThis(Context, LSI->Lambda, ThisTy, Loc); in CheckCXXThisCapture()
|
D | TreeTransform.h | 9162 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); in TransformLambdaExpr() local 9167 LSI->GLTemplateParameterList = getDerived().TransformTemplateParameterList( in TransformLambdaExpr() 9208 LSI->CallOperator = NewCallOperator; in TransformLambdaExpr() 9231 LambdaScopeInfo *const LSI = getSema().getCurLambda(); in TransformLambdaScope() local 9233 getSema().buildLambdaScope(LSI, CallOperator, E->getIntroducerRange(), in TransformLambdaScope() 9248 getSema().finishLambdaExplicitCaptures(LSI); in TransformLambdaScope() 9282 getSema().buildInitCaptureField(LSI, NewVD); in TransformLambdaScope() 9349 getSema().finishLambdaExplicitCaptures(LSI); in TransformLambdaScope()
|
/external/clang/include/clang/Sema/ |
D | ScopeInfo.h | 846 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(this)) in addThisCapture() local 847 LSI->ArrayIndexStarts.push_back(LSI->ArrayIndexVars.size()); in addThisCapture()
|
D | Sema.h | 4746 void buildLambdaScope(sema::LambdaScopeInfo *LSI, 4769 FieldDecl *buildInitCaptureField(sema::LambdaScopeInfo *LSI, VarDecl *Var); 4773 void finishLambdaExplicitCaptures(sema::LambdaScopeInfo *LSI);
|