PATCH: Fix wording in error

Richard Smith richard at metafoo.co.uk
Thu Apr 30 19:14:58 PDT 2015


On Thu, Apr 30, 2015 at 6:50 PM, Nick Lewycky <nlewycky at google.com> wrote:

> The thing that the brackets go after is not always an unqualified-id
> (testcase included). Switch the word for "name".
>

Seems reasonable. While we're here... a diagnostic should generally
describe the problem before / instead of describing what we think is the
right solution. So something like "unexpected brackets; to declare an
array, put the brackets after the name" would seem better phrasing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150430/e58d27ed/attachment.html>


More information about the cfe-commits mailing list