[cfe-commits] r150727 - in /cfe/trunk: include/clang/Basic/DiagnosticParseKinds.td lib/Parse/ParseExprCXX.cpp test/Parser/cxx0x-lambda-expressions.cpp
Douglas Gregor
dgregor at apple.com
Thu Feb 16 17:50:51 PST 2012
On Feb 16, 2012, at 5:43 PM, Richard Smith wrote:
> I've added tests for these fixits in r150777. :-)
Thanks.
- Doug
> On Thu, Feb 16, 2012 at 1:53 PM, Douglas Gregor <dgregor at apple.com> wrote:
> Author: dgregor
> Date: Thu Feb 16 15:53:36 2012
> New Revision: 150727
>
> URL: http://llvm.org/viewvc/llvm-project?rev=150727&view=rev
> Log:
> Improve recovery for lambda expressions that have 'mutable' or a
> trailing return type but not a '()'. Recover by inserting the
> parentheses. Thanks to Xeo on IRC for the example.
>
> Modified:
> cfe/trunk/include/clang/Basic/DiagnosticParseKinds.td
> cfe/trunk/lib/Parse/ParseExprCXX.cpp
> cfe/trunk/test/Parser/cxx0x-lambda-expressions.cpp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120216/04ad8c85/attachment.html>
More information about the cfe-commits
mailing list