Searched refs:LSI (Results 1 - 10 of 10) sorted by relevance

/external/clang/lib/Sema/
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.empty()) {
230 SourceRange IntroRange = LSI->IntroducerRange;
233 LSI
436 buildLambdaScope(LambdaScopeInfo *LSI, CXXMethodDecl *CallOperator, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, bool ExplicitParams, bool ExplicitResultType, bool Mutable) argument
471 finishLambdaExplicitCaptures(LambdaScopeInfo *LSI) argument
789 buildInitCaptureField(LambdaScopeInfo *LSI, VarDecl *Var) argument
810 LambdaScopeInfo *const LSI = getCurLambda(); local
1124 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(FunctionScopes.back()); local
1468 LambdaScopeInfo LSI = *cast<LambdaScopeInfo>(FunctionScopes.back()); local
1489 BuildLambdaExpr(SourceLocation StartLoc, SourceLocation EndLoc, LambdaScopeInfo *LSI) argument
[all...]
H A DScopeInfo.cpp108 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this))
109 RD = LSI->Lambda;
H A DSema.cpp1138 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); local
1139 FunctionScopes.push_back(LSI);
1140 return LSI;
1144 if (LambdaScopeInfo *const LSI = getCurLambda()) {
1145 LSI->AutoTemplateParameterDepth = Depth;
1217 if (LambdaScopeInfo *LSI = getCurLambda()) {
1218 return (LSI->AutoTemplateParams.size() ||
1219 LSI->GLTemplateParameterList) ? LSI : nullptr;
H A DSemaTemplateVariadic.cpp228 if (sema::LambdaScopeInfo *LSI =
230 LSI->ContainsUnexpandedParameterPack = true;
H A DSemaExpr.cpp3062 else if (const LambdaScopeInfo *LSI = getCurLambda())
3063 currentDecl = LSI->CallOperator;
3890 if (auto LSI = dyn_cast<LambdaScopeInfo>(CSI)) {
3891 CapRecord = LSI->Lambda;
3972 if (auto *LSI = dyn_cast<LambdaScopeInfo>(CSI))
3973 DC = LSI->CallOperator;
13433 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, argument
13437 CXXRecordDecl *Lambda = LSI->Lambda;
13450 static bool captureInLambda(LambdaScopeInfo *LSI, argument
13467 ByRef = (LSI
13631 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); local
13732 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); local
[all...]
H A DSemaDecl.cpp11188 LambdaScopeInfo *LSI = S.PushLambdaScope(); local
11189 LSI->CallOperator = CallOperator;
11190 LSI->Lambda = LambdaClass;
11191 LSI->ReturnType = CallOperator->getReturnType();
11195 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None;
11197 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval;
11199 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref;
11202 LSI->IntroducerRange = DNI.getCXXOperatorNameRange();
11203 LSI->Mutable = !CallOperator->isConst();
11205 // Add the captures to the LSI s
11471 auto *LSI = getCurLambda(); local
[all...]
H A DSemaExprCXX.cpp1117 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); local
1118 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) {
1169 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI)) {
1173 ThisExpr = captureThis(*this, Context, LSI->Lambda, ThisTy, Loc,
H A DSemaType.cpp1571 sema::LambdaScopeInfo *LSI = S.getCurLambda(); local
1572 assert(LSI && "No LambdaScopeInfo on the stack!");
1573 const unsigned TemplateParameterDepth = LSI->AutoTemplateParameterDepth;
1574 const unsigned AutoParameterPosition = LSI->AutoTemplateParams.size();
1592 LSI->AutoTemplateParams.push_back(CorrespondingTemplateParam);
H A DTreeTransform.h10209 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); local
10211 LSI->GLTemplateParameterList = TPL;
10228 LSI->CallOperator = NewCallOperator;
10238 getSema().buildLambdaScope(LSI, NewCallOperator,
10256 getSema().finishLambdaExplicitCaptures(LSI);
10291 getSema().buildInitCaptureField(LSI, NewVD);
10359 getSema().finishLambdaExplicitCaptures(LSI);
10379 // Copy the LSI before ActOnFinishFunctionBody removes it.
10382 auto LSICopy = *LSI;
/external/clang/include/clang/Sema/
H A 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);

Completed in 330 milliseconds