Searched defs:LSI (Results 1 - 7 of 7) sorted by relevance

/external/clang/lib/Sema/
H A DSema.cpp1072 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); local
1073 FunctionScopes.push_back(LSI);
1074 return LSI;
1078 if (LambdaScopeInfo *const LSI = getCurLambda()) {
1079 LSI->AutoTemplateParameterDepth = Depth;
1151 if (LambdaScopeInfo *LSI = getCurLambda()) {
1152 return (LSI->AutoTemplateParams.size() ||
1153 LSI->GLTemplateParameterList) ? LSI : nullptr;
H A DSemaLambda.cpp84 const clang::sema::LambdaScopeInfo *LSI = local
113 if (LSI->ImpCaptureStyle == sema::LambdaScopeInfo::ImpCap_None) {
114 if (IsCapturingVariable && !LSI->isCaptured(VarToCapture))
116 if (IsCapturingThis && !LSI->isCXXThisCaptured())
225 getGenericLambdaTemplateParameterList(LambdaScopeInfo *LSI, Sema &SemaRef) { argument
226 if (LSI->GLTemplateParameterList)
227 return LSI->GLTemplateParameterList;
229 if (LSI->AutoTemplateParams.size()) {
230 SourceRange IntroRange = LSI->IntroducerRange;
233 LSI
435 buildLambdaScope(LambdaScopeInfo *LSI, CXXMethodDecl *CallOperator, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, bool ExplicitParams, bool ExplicitResultType, bool Mutable) argument
470 finishLambdaExplicitCaptures(LambdaScopeInfo *LSI) argument
819 buildInitCaptureField(LambdaScopeInfo *LSI, VarDecl *Var) argument
839 LambdaScopeInfo *const LSI = getCurLambda(); local
1135 LambdaScopeInfo *LSI = getCurLambda(); local
1391 LambdaScopeInfo *LSI = getCurLambda(); local
[all...]
H A DSemaExprCXX.cpp814 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); local
815 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) {
847 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI))
849 ThisExpr = captureThis(Context, LSI->Lambda, ThisTy, Loc);
H A DSemaType.cpp1003 sema::LambdaScopeInfo *LSI = S.getCurLambda(); local
1004 assert(LSI && "No LambdaScopeInfo on the stack!");
1005 const unsigned TemplateParameterDepth = LSI->AutoTemplateParameterDepth;
1006 const unsigned AutoParameterPosition = LSI->AutoTemplateParams.size();
1033 LSI->AutoTemplateParams.push_back(CorrespondingTemplateParam);
H A DSemaDecl.cpp9810 LambdaScopeInfo *LSI = S.PushLambdaScope(); local
9811 LSI->CallOperator = CallOperator;
9812 LSI->Lambda = LambdaClass;
9813 LSI->ReturnType = CallOperator->getReturnType();
9817 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None;
9819 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval;
9821 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref;
9824 LSI->IntroducerRange = DNI.getCXXOperatorNameRange();
9825 LSI->Mutable = !CallOperator->isConst();
9827 // Add the captures to the LSI s
[all...]
H A DTreeTransform.h8656 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); local
8659 LSI->GLTemplateParameterList = getDerived().TransformTemplateParameterList(
8746 LSI->CallOperator = NewCallOperator;
8765 LambdaScopeInfo *const LSI = getSema().getCurLambda(); local
8767 getSema().buildLambdaScope(LSI, CallOperator, E->getIntroducerRange(),
8782 getSema().finishLambdaExplicitCaptures(LSI);
8812 getSema().buildInitCaptureField(LSI, NewVD);
8879 getSema().finishLambdaExplicitCaptures(LSI);
H A DSemaExpr.cpp2911 else if (const LambdaScopeInfo *LSI = getCurLambda())
2912 currentDecl = LSI->CallOperator;
11852 LambdaScopeInfo *LSI,
11857 CXXRecordDecl *Lambda = LSI->Lambda;
11897 LSI->ArrayIndexStarts.push_back(LSI->ArrayIndexVars.size());
11914 LSI->ArrayIndexVars.push_back(IterationVar);
11962 LSI->ExprNeedsCleanups = true;
11973 static bool captureInLambda(LambdaScopeInfo *LSI, argument
11990 ByRef = (LSI
11851 addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, VarDecl *Var, QualType FieldType, QualType DeclRefType, SourceLocation Loc, bool RefersToEnclosingLocal) argument
12143 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); local
12310 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); local
[all...]

Completed in 239 milliseconds