Home | History | Annotate | Download | only in Sema

Lines Matching defs:LSI

187   LambdaScopeInfo *LSI = getCurLambda();
189 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByval;
191 LSI->ImpCaptureStyle = LambdaScopeInfo::ImpCap_LambdaByref;
192 LSI->IntroducerRange = IntroducerRange;
193 LSI->ExplicitParams = ExplicitParams;
194 LSI->Mutable = Mutable;
197 LSI->ReturnType = CallOperator->getResultType();
199 if (!LSI->ReturnType->isDependentType() &&
200 !LSI->ReturnType->isVoidType()) {
201 if (RequireCompleteType(CallOperator->getLocStart(), LSI->ReturnType,
207 LSI->HasImplicitReturnType = true;
210 return LSI;
213 void Sema::finishLambdaExplicitCaptures(LambdaScopeInfo *LSI) {
214 LSI->finishedExplicitCaptures();
439 LambdaScopeInfo *LSI = getCurLambda();
499 Id, DeducedType, TSI, LSI->Lambda,
502 LSI->Lambda->addDecl(NewFD);
505 LSI->addInitCapture(NewFD, InitExpr);
512 LSI->addInitCapture(NewFD, InitResult.take());
600 LambdaScopeInfo *LSI
620 if (LSI->isCXXThisCaptured()) {
623 << SourceRange(LSI->getCXXThisCapture().getLocation())
717 if (Var && LSI->isCaptured(Var)) {
719 << C->Id << SourceRange(LSI->getCapture(Var).getLocation())
767 finishLambdaExplicitCaptures(LSI);
769 LSI->ContainsUnexpandedParameterPack = ContainsUnexpandedParameterPack;
790 LambdaScopeInfo *LSI = getCurLambda();
791 CXXRecordDecl *Class = LSI->Lambda;
932 LambdaScopeInfo *LSI = getCurLambda();
933 CallOperator = LSI->CallOperator;
934 Class = LSI->Lambda;
935 IntroducerRange = LSI->IntroducerRange;
936 ExplicitParams = LSI->ExplicitParams;
937 ExplicitResultType = !LSI->HasImplicitReturnType;
938 LambdaExprNeedsCleanups = LSI->ExprNeedsCleanups;
939 ContainsUnexpandedParameterPack = LSI->ContainsUnexpandedParameterPack;
940 ArrayIndexVars.swap(LSI->ArrayIndexVars);
941 ArrayIndexStarts.swap(LSI->ArrayIndexStarts);
944 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) {
945 LambdaScopeInfo::Capture From = LSI->Captures[I];
947 bool IsImplicit = I >= LSI->NumExplicitCaptures;
973 switch (LSI->ImpCaptureStyle) {
997 if (LSI->HasImplicitReturnType) {
998 deduceClosureReturnType(*LSI);
1004 if (LSI->ReturnType.isNull()) {
1005 LSI->ReturnType = Context.VoidTy;
1012 LSI->ReturnType, Proto->getArgTypes(), Proto->getExtProtoInfo());