This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[wide-int] Various minor tweaks


I looked through the diff of wide-int with mainline and noticed a few
minor things to tweak.  This patch:

- Fixes comment typos that I'd introducted.
- Fixes spurious whitespace differences.
- Uses const X & instead of X for *wide_int parameters.
- Fuses declarations and initialisers.
- Avoids unnecessary *wide_int temporaries (e.g. wide_int (x) == 0
  -> wi::eq_p (x, 0)).
- Fixes some long lines.

It all seemed pretty obvious, and the patch is long and mechanical,
so I went ahead and installed it.  Hope that's OK.

Thanks,
Richard


Attachment: minor-tweaks.diff.gz
Description: application/gzip


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]