[cfe-commits] [PATCH] minor cleanup in attribute-related diagnostics

Alexander Kornienko alexfh at google.com
Wed Mar 14 08:01:38 PDT 2012


I'm only starting to work on clang and here's my first minor patch. Not
much value, just cleaned a mess in a couple of diagnostic messages.
 * synchronized %select{} blocks in warn_attribute_wrong_decl_type and
err_attribute_wrong_decl_type diagnostics messages with enum
 * replaced numeric constants with enum values in related code;
 * removed unused messages (for example, ones forgotten during attribute
cleanup in r124087).

Please, review this patch.


Best regards,
Alexander Kornienko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120314/488c6e5a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn_attribute_wrong_decl_type.diff
Type: application/octet-stream
Size: 5944 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120314/488c6e5a/attachment.obj>

More information about the cfe-commits mailing list