r196722 - Fix the message to go along with the assertion that was just fixed.
Faisal Vali
faisalv at yahoo.com
Sun Dec 8 07:04:03 PST 2013
Author: faisalv
Date: Sun Dec 8 09:04:03 2013
New Revision: 196722
URL: http://llvm.org/viewvc/llvm-project?rev=196722&view=rev
Log:
Fix the message to go along with the assertion that was just fixed.
argh!
Modified:
cfe/trunk/lib/Sema/SemaLambda.cpp
Modified: cfe/trunk/lib/Sema/SemaLambda.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLambda.cpp?rev=196722&r1=196721&r2=196722&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLambda.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLambda.cpp Sun Dec 8 09:04:03 2013
@@ -184,7 +184,7 @@ Optional<unsigned> clang::getStackIndexO
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<sema::LambdaScopeInfo>(FunctionScopes[IndexOfCaptureReadyLambda]);
More information about the cfe-commits
mailing list