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
attr_args.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
