[cfe-commits] r150727 - in /cfe/trunk: include/clang/Basic/DiagnosticParseKinds.td lib/Parse/ParseExprCXX.cpp test/Parser/cxx0x-lambda-expressions.cpp
Richard Smith
richard at metafoo.co.uk
Thu Feb 16 17:43:56 PST 2012
I've added tests for these fixits in r150777. :-)
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/aff72622/attachment.html>
More information about the cfe-commits
mailing list