Home | History | Annotate | Download | only in Sema

Lines Matching defs:LSI

180   LambdaScopeInfo *LSI = getCurLambda();
182 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval;
184 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByref;
185 LSI->IntroducerRange = IntroducerRange;
186 LSI->ExplicitParams = ExplicitParams;
187 LSI->Mutable = Mutable;
190 LSI->ReturnType = CallOperator->getResultType();
192 if (!LSI->ReturnType->isDependentType() &&
193 !LSI->ReturnType->isVoidType()) {
194 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType,
197 } else if (LSI->ReturnType->isObjCObjectOrInterfaceType()) {
199 << LSI->ReturnType;
203 LSI->HasImplicitReturnType = true;
206 return LSI;
209 void Sema::finishLambdaExplicitCaptures(LambdaScopeInfo *LSI) {
210 LSI->finishedExplicitCaptures();
514 LambdaScopeInfo *LSI
531 if (LSI->isCXXThisCaptured()) {
534 << SourceRange(LSI->getCXXThisCapture().getLocation())
621 if (LSI->isCaptured(Var)) {
624 << SourceRange(LSI->getCapture(Var).getLocation())
650 finishLambdaExplicitCaptures(LSI);
652 LSI->ContainsUnexpandedParameterPack = ContainsUnexpandedParameterPack;
673 LambdaScopeInfo *LSI = getCurLambda();
674 CXXRecordDecl *Class = LSI->Lambda;
823 LambdaScopeInfo *LSI = getCurLambda();
824 CallOperator = LSI->CallOperator;
825 Class = LSI->Lambda;
826 IntroducerRange = LSI->IntroducerRange;
827 ExplicitParams = LSI->ExplicitParams;
828 ExplicitResultType = !LSI->HasImplicitReturnType;
829 LambdaExprNeedsCleanups = LSI->ExprNeedsCleanups;
830 ContainsUnexpandedParameterPack = LSI->ContainsUnexpandedParameterPack;
831 ArrayIndexVars.swap(LSI->ArrayIndexVars);
832 ArrayIndexStarts.swap(LSI->ArrayIndexStarts);
835 for (unsigned I = 0, N = LSI
836 LambdaScopeInfo::Capture From = LSI->Captures[I];
838 bool IsImplicit = I >= LSI->NumExplicitCaptures;
858 switch (LSI->ImpCaptureStyle) {
881 if (LSI->HasImplicitReturnType) {
882 deduceClosureReturnType(*LSI);
888 if (LSI->ReturnType.isNull()) {
889 LSI->ReturnType = Context.VoidTy;
896 = Context.getFunctionType(LSI->ReturnType,