Searched refs:LSI (Results 1 - 10 of 10) sorted by relevance
/external/clang/lib/Sema/ |
H A D | SemaLambda.cpp | 84 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 D | ScopeInfo.cpp | 108 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this)) 109 RD = LSI->Lambda;
|
H A D | Sema.cpp | 1138 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 D | SemaTemplateVariadic.cpp | 228 if (sema::LambdaScopeInfo *LSI = 230 LSI->ContainsUnexpandedParameterPack = true;
|
H A D | SemaExpr.cpp | 3062 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 D | SemaDecl.cpp | 11188 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 D | SemaExprCXX.cpp | 1117 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 D | SemaType.cpp | 1571 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 D | TreeTransform.h | 10209 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 D | Sema.h | 5113 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 912 milliseconds