[cfe-commits] [patch] confusing ARC diagnostic categories' names.

Jean-Daniel Dupas devlists at shadowlab.org
Mon Dec 12 15:37:21 PST 2011


Hello,


Actually, clang defines 2 ARC diagnostic group with similar names (You can run "clang --print-diagnostic-categories" to see both categories) : 
- ARC Issue
- Automatic Reference Counting Issue

The first one is defined in "DiagnosticSemaKinds" and the second one in "DiagnosticParseKinds"

If changing the name does not break anything, I propose to rename the first one "ARC Semantic Issue", and the second one "ARC Parse Issue" to be consistent with other generic categories ("Semantic Issue" and "Parse Issue").

Regards

-- Jean-Daniel



-------------- next part --------------
A non-text attachment was scrubbed...
Name: arc_diag_cat.patch
Type: application/octet-stream
Size: 1088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111213/050967d9/attachment.obj>


More information about the cfe-commits mailing list