[cfe-commits] r165439 - /cfe/trunk/include/clang/Basic/DiagnosticGroups.td
Chandler Carruth
chandlerc at gmail.com
Mon Oct 8 15:45:54 PDT 2012
Author: chandlerc
Date: Mon Oct 8 17:45:54 2012
New Revision: 165439
URL: http://llvm.org/viewvc/llvm-project?rev=165439&view=rev
Log:
Sort the subgroups of the diagnostic group for -Wconversion. No
functionality changed.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticGroups.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?rev=165439&r1=165438&r2=165439&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticGroups.td Mon Oct 8 17:45:54 2012
@@ -328,15 +328,15 @@
// - bool-to-pointer conversion warnings are on by default
// - __null-to-integer conversion warnings are on by default
def Conversion : DiagGroup<"conversion",
- [DiagGroup<"shorten-64-to-32">,
+ [BoolConversion,
ConstantConversion,
+ DiagGroup<"shorten-64-to-32">,
+ IntConversion,
LiteralConversion,
- StringConversion,
- SignConversion,
- BoolConversion,
- NullConversion, // NULL->non-pointer
NonLiteralNullConversion, // (1-1)->pointer (etc)
- IntConversion]>,
+ NullConversion, // NULL->non-pointer
+ SignConversion,
+ StringConversion]>,
DiagCategory<"Value Conversion Issue">;
def Unused : DiagGroup<"unused",
More information about the cfe-commits
mailing list