On 11/22/2021 10:22 AM, Marek Polacek via Gcc-patches wrote:
Let's hide [[likely]] behind a macro, to suppress warnings if the
compiler doesn't support it.

Co-authored-by: Jonathan Wakely <jwak...@redhat.com>

Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk?

        PR preprocessor/103355

libcpp/ChangeLog:

        * lex.c: Use ATTR_LIKELY instead of [[likely]].
        * system.h (ATTR_LIKELY): Define.
OK
jeff

Reply via email to