From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id B629C3858425; Wed, 21 Dec 2022 08:08:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B629C3858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671610137; bh=u842/+uJbG3llAiODxYMeB+0foYHbG+dhLYpDI5739Q=; h=From:To:Subject:Date:From; b=XS6m6ugLt2edqczZRnQAZ+n9LrN9qTRydcmlbAVjdCH0LiD0DKvot50lZaq8bvwZs IVJgQK4f7KA0/tg8yGFeWBzZeksvPfpoZcdFxmrvPTHtps6KhFuah6aV1eeE2aqxP6 aecEFDLjmuWNYG/xFAvTIHgUiMdX18zWlrNZg3sw= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4821] contrib: filter out more unrelated warnings X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: 3e030227eabad2a0107c1d87b5648e6c3584e273 X-Git-Newrev: 0d1b5446bf17c14fce3428a005446539292fe27e Message-Id: <20221221080857.B629C3858425@sourceware.org> Date: Wed, 21 Dec 2022 08:08:57 +0000 (GMT) List-Id: https://gcc.gnu.org/g:0d1b5446bf17c14fce3428a005446539292fe27e commit r13-4821-g0d1b5446bf17c14fce3428a005446539292fe27e Author: Martin Liska Date: Wed Dec 21 09:08:24 2022 +0100 contrib: filter out more unrelated warnings contrib/ChangeLog: * filter-clang-warnings.py: Skip Makefile and libffi warnings. Diff: --- contrib/filter-clang-warnings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/filter-clang-warnings.py b/contrib/filter-clang-warnings.py index 0973d74d8d9..56dce5af368 100755 --- a/contrib/filter-clang-warnings.py +++ b/contrib/filter-clang-warnings.py @@ -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)