Question for removing trailing whitespaces (not vertical tab) from source
Andrew Haley
aph@redhat.com
Tue Mar 13 15:04:00 GMT 2007
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.
More information about the Gcc
mailing list