[cfe-commits] r165439 - /cfe/trunk/include/clang/Basic/DiagnosticGroups.td

Chandler Carruth chandlerc at gmail.com
Mon Oct 8 18:13:02 PDT 2012


On Mon, Oct 8, 2012 at 6:02 PM, Jordan Rose <jordan_rose at apple.com> wrote:

> This is not your fault, but probably -Wshorten-64-to-32 should get a
> proper name for the group.
>

Yea, I just wasn't touching this, too many other things flying for me.


>
>
> 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
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121008/cb086103/attachment.html>


More information about the cfe-commits mailing list