contrib: filter out more unrelated warnings

contrib/ChangeLog:

	* filter-clang-warnings.py: Skip Makefile and libffi warnings.
This commit is contained in:
Martin Liska 2022-12-21 09:08:24 +01:00
parent 3e030227ea
commit 0d1b5446bf

View file

@ -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)