From: Faisal Vali Date: Sun, 8 Dec 2013 15:04:03 +0000 (+0000) Subject: Fix the message to go along with the assertion that was just fixed. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e644638cb6588bce2a89c5d1d0e24ae648aa33aa;p=clang 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 --- 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]);