Searched defs:LSI (Results 1 - 7 of 7) sorted by relevance
/external/clang/lib/Sema/ |
H A D | Sema.cpp | 1145 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); local 1146 FunctionScopes.push_back(LSI); 1147 return LSI; 1151 if (LambdaScopeInfo *const LSI = getCurLambda()) { 1152 LSI->AutoTemplateParameterDepth = Depth; 1224 if (LambdaScopeInfo *LSI = getCurLambda()) { 1225 return (LSI->AutoTemplateParams.size() || 1226 LSI->GLTemplateParameterList) ? LSI : nullptr;
|
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.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 786 buildInitCaptureField(LambdaScopeInfo *LSI, VarDecl *Var) argument 807 LambdaScopeInfo *const LSI = getCurLambda(); local 1117 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(FunctionScopes.back()); local 1461 LambdaScopeInfo LSI = *cast<LambdaScopeInfo>(FunctionScopes.back()); local 1482 BuildLambdaExpr(SourceLocation StartLoc, SourceLocation EndLoc, LambdaScopeInfo *LSI) argument [all...] |
H A D | SemaExprCXX.cpp | 916 LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI); local 917 if (LSI && isGenericLambdaCallOperatorSpecialization(LSI->CallOperator)) { 949 if (LambdaScopeInfo *LSI = dyn_cast<LambdaScopeInfo>(CSI)) 951 ThisExpr = captureThis(Context, LSI->Lambda, ThisTy, Loc);
|
H A D | SemaType.cpp | 1480 sema::LambdaScopeInfo *LSI = S.getCurLambda(); local 1481 assert(LSI && "No LambdaScopeInfo on the stack!"); 1482 const unsigned TemplateParameterDepth = LSI->AutoTemplateParameterDepth; 1483 const unsigned AutoParameterPosition = LSI->AutoTemplateParams.size(); 1501 LSI->AutoTemplateParams.push_back(CorrespondingTemplateParam);
|
H A D | SemaDecl.cpp | 10779 LambdaScopeInfo *LSI = S.PushLambdaScope(); local 10780 LSI->CallOperator = CallOperator; 10781 LSI->Lambda = LambdaClass; 10782 LSI->ReturnType = CallOperator->getReturnType(); 10786 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None; 10788 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval; 10790 LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref; 10793 LSI->IntroducerRange = DNI.getCXXOperatorNameRange(); 10794 LSI->Mutable = !CallOperator->isConst(); 10796 // Add the captures to the LSI s 11061 auto *LSI = getCurLambda(); local [all...] |
H A D | SemaExpr.cpp | 2997 else if (const LambdaScopeInfo *LSI = getCurLambda()) 2998 currentDecl = LSI->CallOperator; 12884 static void addAsFieldToClosureType(Sema &S, LambdaScopeInfo *LSI, VarDecl *Var, argument 12888 CXXRecordDecl *Lambda = LSI->Lambda; 12901 static bool captureInLambda(LambdaScopeInfo *LSI, argument 12918 ByRef = (LSI->ImpCaptureStyle == LambdaScopeInfo::ImpCap_LambdaByref); 12978 addAsFieldToClosureType(S, LSI, Var, CaptureType, DeclRefType, Loc, 12991 if (!LSI->Mutable && !CaptureType->isReferenceType()) 12997 LSI->addCapture(Var, /*IsBlock=*/false, ByRef, RefersToCapturedVariable, 13083 LambdaScopeInfo *LSI local 13296 LambdaScopeInfo *LSI = cast<LambdaScopeInfo>(CSI); local [all...] |
H A D | TreeTransform.h | 9876 LambdaScopeInfo *LSI = getSema().PushLambdaScope(); local 9878 LSI->GLTemplateParameterList = TPL; 9893 LSI->CallOperator = NewCallOperator; 9903 getSema().buildLambdaScope(LSI, NewCallOperator, 9921 getSema().finishLambdaExplicitCaptures(LSI); 9954 getSema().buildInitCaptureField(LSI, NewVD); 10022 getSema().finishLambdaExplicitCaptures(LSI); 10042 // Copy the LSI before ActOnFinishFunctionBody removes it. 10045 auto LSICopy = *LSI;
|
Completed in 256 milliseconds