This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question for removing trailing whitespaces (not vertical tab) from source
Ian Lance Taylor writes:
> Andrew Haley <aph@redhat.com> writes:
>
> > Kai Tietz writes:
> >
> > > I want to remove some trailing whitespaces from gcc source as coding style
> > > demands. Also I wrote, while doing a small tool for that, a feature to
> > > replace horiz. tabs by spaces. But the question is by which width should
> > > be used ?
> >
> > 8.
>
> But please do not turn tabs into spaces in the gcc source code.
>
> I think removing trailing whitespace would be OK,
Please don't check it in, though! That would be really bad. It would
do horrible things to diffs, particularly between branches.
Andrew.