Lines Matching full:lsi
179 LambdaScopeInfo *LSI = getCurLambda();
181 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval;
183 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByref;
184 LSI->IntroducerRange = IntroducerRange;
185 LSI->ExplicitParams = ExplicitParams;
186 LSI->Mutable = Mutable;
189 LSI->ReturnType = CallOperator->getResultType();
191 if (!LSI->ReturnType->isDependentType() &&
192 !LSI->ReturnType->isVoidType()) {
193 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType,
196 } else if (LSI->ReturnType->isObjCObjectOrInterfaceType()) {
198 << LSI->ReturnType;
202 LSI->HasImplicitReturnType = true;
205 return LSI;
208 void Sema::finishLambdaExplicitCaptures(LambdaScopeInfo *LSI) {
209 LSI->finishedExplicitCaptures();
436 LambdaScopeInfo *LSI
453 if (LSI->isCXXThisCaptured()) {
456 << SourceRange(LSI->getCXXThisCapture().getLocation())
539 if (LSI->isCaptured(Var)) {
542 << SourceRange(LSI->getCapture(Var).getLocation())
568 finishLambdaExplicitCaptures(LSI);
570 LSI->ContainsUnexpandedParameterPack = ContainsUnexpandedParameterPack;
591 LambdaScopeInfo *LSI = getCurLambda();
592 CXXRecordDecl *Class = LSI->Lambda;
738 LambdaScopeInfo *LSI = getCurLambda();
739 CallOperator = LSI->CallOperator;
740 Class = LSI->Lambda;
741 IntroducerRange = LSI->IntroducerRange;
742 ExplicitParams = LSI->ExplicitParams;
743 ExplicitResultType = !LSI->HasImplicitReturnType;
744 LambdaExprNeedsCleanups = LSI->ExprNeedsCleanups;
745 ContainsUnexpandedParameterPack = LSI->ContainsUnexpandedParameterPack;
746 ArrayIndexVars.swap(LSI->ArrayIndexVars);
747 ArrayIndexStarts.swap(LSI->ArrayIndexStarts);
750 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) {
751 LambdaScopeInfo::Capture From = LSI->Captures[I];
753 bool IsImplicit = I >= LSI->NumExplicitCaptures;
773 switch (LSI->ImpCaptureStyle) {
796 if (LSI->HasImplicitReturnType) {
797 deduceClosureReturnType(*LSI);
803 if (LSI->ReturnType.isNull()) {
804 LSI->ReturnType = Context.VoidTy;
811 = Context.getFunctionType(LSI->ReturnType,