]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
contrib: filter out more unrelated warnings
authorMartin Liska <mliska@suse.cz>
Wed, 21 Dec 2022 08:08:24 +0000 (09:08 +0100)
committerMartin Liska <mliska@suse.cz>
Wed, 21 Dec 2022 08:08:24 +0000 (09:08 +0100)
contrib/ChangeLog:

* filter-clang-warnings.py: Skip Makefile and libffi warnings.

contrib/filter-clang-warnings.py

index 0973d74d8d93d731ca2793f9256bb35175fd28bb..56dce5af36804446d33dadf6293281436ccde0e3 100755 (executable)
@@ -79,6 +79,8 @@ for line in lines:
     if i != -1:
         location = line[:i]
         message = line[i + len(token):]
+        if '/libffi/' in location or location.startswith('Makefile'):
+            continue
         if not skip_warning(location, message):
             total += 1
             messages.add(line)