From e644638cb6588bce2a89c5d1d0e24ae648aa33aa Mon Sep 17 00:00:00 2001 From: Faisal Vali Date: Sun, 8 Dec 2013 15:04:03 +0000 Subject: [PATCH] Fix the message to go along with the assertion that was just fixed. argh! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196722 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaLambda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Sema/SemaLambda.cpp b/lib/Sema/SemaLambda.cpp index 5ed4c6153d..3983539f1a 100644 --- a/lib/Sema/SemaLambda.cpp +++ b/lib/Sema/SemaLambda.cpp @@ -184,7 +184,7 @@ Optional clang::getStackIndexOfNearestEnclosingCaptureCapableLambda( assert(((IndexOfCaptureReadyLambda != (FunctionScopes.size() - 1)) || S.getCurGenericLambda()) && "The capture ready lambda for a potential capture can only be the " - "current lambda if it is a generic lambda with an implicit capture"); + "current lambda if it is a generic lambda"); const sema::LambdaScopeInfo *const CaptureReadyLambdaLSI = cast(FunctionScopes[IndexOfCaptureReadyLambda]); -- 2.40.0