Home | History | Annotate | Download | only in Sema

Lines Matching refs:LSI

169   LambdaScopeInfo *LSI = getCurLambda();
171 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval;
173 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByref;
174 LSI->IntroducerRange = IntroducerRange;
175 LSI->ExplicitParams = ExplicitParams;
176 LSI->Mutable = Mutable;
179 LSI->ReturnType = CallOperator->getResultType();
181 if (!LSI->ReturnType->isDependentType() &&
182 !LSI->ReturnType->isVoidType()) {
183 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType,
186 } else if (LSI->ReturnType->isObjCObjectOrInterfaceType()) {
188 << LSI->ReturnType;
192 LSI->HasImplicitReturnType = true;
195 return LSI;
198 void Sema::finishLambdaExplicitCaptures(LambdaScopeInfo *LSI) {
199 LSI->finishedExplicitCaptures();
287 LambdaScopeInfo *LSI
304 if (LSI->isCXXThisCaptured()) {
307 << SourceRange(LSI->getCXXThisCapture().getLocation())
390 if (LSI->isCaptured(Var)) {
393 << SourceRange(LSI->getCapture(Var).getLocation())
420 finishLambdaExplicitCaptures(LSI);
441 LambdaScopeInfo *LSI = getCurLambda();
442 CXXRecordDecl *Class = LSI->Lambda;
584 LambdaScopeInfo *LSI = getCurLambda();
585 CallOperator = LSI->CallOperator;
586 Class = LSI->Lambda;
587 IntroducerRange = LSI->IntroducerRange;
588 ExplicitParams = LSI->ExplicitParams;
589 ExplicitResultType = !LSI->HasImplicitReturnType;
590 LambdaExprNeedsCleanups = LSI->ExprNeedsCleanups;
591 ArrayIndexVars.swap(LSI->ArrayIndexVars);
592 ArrayIndexStarts.swap(LSI->ArrayIndexStarts);
595 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) {
596 LambdaScopeInfo::Capture From = LSI->Captures[I];
598 bool IsImplicit = I >= LSI->NumExplicitCaptures;
618 switch (LSI->ImpCaptureStyle) {
641 if (LSI->HasImplicitReturnType) {
646 if (LSI->ReturnType.isNull()) {
647 LSI->ReturnType = Context.VoidTy;
665 !Context.hasSameType(LSI->ReturnType, Context.VoidTy))
674 = Context.getFunctionType(LSI->ReturnType,