public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-8251] contrib: filter out a new Clang warning
Date: Mon, 25 Apr 2022 20:27:40 +0000 (GMT)	[thread overview]
Message-ID: <20220425202740.AE5263858D28@sourceware.org> (raw)

https://gcc.gnu.org/g:68fd1c9f22ad42536bcb63a4c776004268702b0b

commit r12-8251-g68fd1c9f22ad42536bcb63a4c776004268702b0b
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Apr 25 22:26:27 2022 +0200

    contrib: filter out a new Clang warning
    
    Filter out:
    libcpp/lex.cc:1289:7: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-attribute-extensions]
    
    contrib/ChangeLog:
    
            * filter-clang-warnings.py: Filter out
            -Wc++20-attribute-extensions in lex.cc.

Diff:
---
 contrib/filter-clang-warnings.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/filter-clang-warnings.py b/contrib/filter-clang-warnings.py
index 405ab8da6da..942cd30b659 100755
--- a/contrib/filter-clang-warnings.py
+++ b/contrib/filter-clang-warnings.py
@@ -53,7 +53,8 @@ def skip_warning(filename, message):
             'genautomata.cc': ['-Wstring-plus-int'],
             'fold-const-call.cc': ['-Wreturn-type'],
             'gfortran.texi': [''],
-            'libtool': ['']
+            'libtool': [''],
+            'lex.cc': ['-Wc++20-attribute-extensions'],
     }
 
     for name, ignores in ignores.items():


                 reply	other threads:[~2022-04-25 20:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220425202740.AE5263858D28@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).