[patch] Make the ObjC attributes diagnostics a bit more informative

Nico Weber thakis at chromium.org
Wed Apr 3 14:46:30 PDT 2013


Hi,

the attached patch changes the attributes diag I added earlier today from

  test2.mm:3:12: error: postfix attributes are not allowed on Objective-C
directives

to

  test2.mm:3:12: error: postfix attributes are not allowed on Objective-C
directives, place them in front of '@interface'

for @interface and @protocol (and keeps the diagnostic as is for @class and
@implementation).

Ok?

Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130403/fa21df67/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-objc-attrs-2.patch
Type: application/octet-stream
Size: 4784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130403/fa21df67/attachment.obj>


More information about the cfe-commits mailing list