[PATCH] Properly consider the range of enum for range comparisons in C mode

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri May 31 07:25:00 PDT 2013


lgtm

On 31 May 2013 02:47, David Majnemer <david.majnemer at gmail.com> wrote:
> In some cases, clang applies the C++ rules for computing the range of a
> value when said value is an enum.
>
> The attached patch applies C semantics when in C mode.
>
> This fixes PR16154.
>
> --
> David Majnemer
>
> _______________________________________________
> 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