[PATCH] Correcting attribute argument count errors

Aaron Ballman aaron at aaronballman.com
Mon Jul 22 12:26:11 PDT 2013



On Thu, Jul 18, 2013 at 2:20 PM, Aaron Ballman <aaron at aaronballman.com> wrote:
> While doing some refactoring with the way attributes are diagnosed, I
> noticed that the NSObject and Overloadable attributes seemed to emit
> an incorrect diagnostic.  Specifically, both would check that no
> arguments were passed, but then proceed to emit a diagnostic
> suggesting that an argument was required.
> This patch corrects the behavior so that the diagnostic matches the
> expectation, and adds test cases for both attributes.
> ~Aaron

More information about the cfe-commits mailing list