[cfe-commits] r165439 - /cfe/trunk/include/clang/Basic/DiagnosticGroups.td
Jordan Rose
jordan_rose at apple.com
Mon Oct 8 18:02:20 PDT 2012
This is not your fault, but probably -Wshorten-64-to-32 should get a proper name for the group.
On Oct 8, 2012, at 15:45 , Chandler Carruth <chandlerc at gmail.com> wrote:
> 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",
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list