On Thu, Mar 6, 2014 at 6:23 PM, Manuel Klimek <[email protected]> wrote:

>
> On Mar 6, 2014 6:16 PM, "Alexander Kornienko" <[email protected]> wrote:
> > +    if (M1.FileOffset < M2.FileOffset)
> > +      return true;
> > +    if (M1.FileOffset > M2.FileOffset)
> > +      return false;
>
> I'd write those as:
> If (a != b)
>   Return a < b;
>
Yep, that's much better. Thanks!
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to