On Fri, 25 Oct 2024 at 12:10, Jakub Jelinek <[email protected]> wrote:
>
> Hi!
>
> The following patch fixes 2 -Wleading-whitespace=blanks issues in gcc/,
> include/, libiberty/, libcpp/, libgcc/ and libstdc++-v3/
> One is the
> ../../gcc/c/c-typeck.cc:196:1: warning: whitespace other than spaces and tabs 
> in leading whitespace [-Wleading-whitespace=]
> case (where there was a form-feed immediately followed by a comment
> rather than having a new-line separating it) and then tons of
> warning: tab after space in leading whitespace [-Wleading-whitespace=]
> warnings.  For the latter I've used
> find -name \*.h -o -name \*.c -o -name \*.cc | grep -v testsuite/ | grep -v 
> gofrontend/ | xargs grep -l '^[     ]*       '
> to find affected files (also left out the m2 'do not edit' files) and in an
> editor searched for the same regex and fixed up manually.
>
> xz compressed patch attached, followed by -ubp diff which shows that
> a few changes beyond just space removal or replacement by tab were done
> while I was at it, but only very few.
>
> Ok for trunk if this passes bootstrap/regtest?

The libstdc++-v3 parts are all OK, thanks.

> libstdc++-v3/
>         * config/locale/dragonfly/numeric_members.cc: Fix space after tab
>         issues in leading whitespace.
>         * config/locale/dragonfly/time_members.cc: Likewise.
>         * include/parallel/unique_copy.h: Likewise.
>         * include/parallel/partition.h: Likewise.
>         * include/parallel/random_shuffle.h: Likewise.
>         * include/parallel/losertree.h: Likewise.
>         * include/parallel/set_operations.h: Likewise.
>         * include/parallel/multiway_merge.h: Likewise.
>         * include/parallel/balanced_quicksort.h: Likewise.
>         * include/bits/streambuf_iterator.h: Likewise.
>         * include/bits/unordered_set.h: Likewise.
>         * include/bits/stl_vector.h: Likewise.
>         * include/bits/uses_allocator.h: Likewise.
>         * include/tr1/hashtable.h: Likewise.
>         * include/ext/rc_string_base.h: Likewise.
>         * src/c++98/mt_allocator.cc: Likewise.
>         * src/c++11/limits.cc: Likewise.

Reply via email to