I've added tests for these fixits in r150777. :-)

On Thu, Feb 16, 2012 at 1:53 PM, Douglas Gregor <[email protected]> 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
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to