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 <[email protected]> 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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to