Hi,

On Mon, Feb 16 2026, Filip Kastl wrote:
> I've tested this patch on the latest Clang warnings.  Worked like intended.
> What do you think, Martin?  If you agree and nobody else has any objections,
> I'd push it (since there is no contrib/ maintainer/reviewer).
>

I agree, AFAIK we are the only user, go ahead.

Thanks a lot,

Martin

>
>
> -- 8< --
>
>
> Compiling GCC with Clang doesn't only yield Clang's warnings but also
> warnings about .texi documentation files.  In filter-clang-warnings.py
> we blacklisted some .texi files.  Blacklist all of them.
>
> contrib/ChangeLog:
>
>       * filter-clang-warnings.py: Filter out all warnings comming from
>       files with ".texi" in their name.
>
> Signed-off-by: Filip Kastl <[email protected]>
> ---
>  contrib/filter-clang-warnings.py | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/contrib/filter-clang-warnings.py 
> b/contrib/filter-clang-warnings.py
> index 5f61ec50d7d..db94ee325a8 100755
> --- a/contrib/filter-clang-warnings.py
> +++ b/contrib/filter-clang-warnings.py
> @@ -73,13 +73,12 @@ def skip_warning(filename, message):
>              # Rust peopel promised to clean these warnings too
>              'rust/': ['-Wunused-private-field'],
>                   'libiberty/sha1.c': ['-Wc23-extensions'],
> -            'avr-mmcu.texi': [''],
> -            'gfortran.texi': [''],
> -            'install.texi': [''],
> -            'libgccjit.texi': [''],
>              'libtool': ['']
>      }
>  
> +    if ".texi" in filename:
> +        return True
> +
>      for name, ignore in ignores.items():
>          for i in ignore:
>              if name in filename and i in message:
> -- 
> 2.51.0

Reply via email to