[llvm-bugs] [Bug 26852] false negative for -Wconstant-logical-operand in C++ mode, not in C

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 13 03:30:04 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=26852

Valentin-Catalin Chirca <valentin.chirca at windriver.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |valentin.chirca at windriver.c
                   |                            |om

--- Comment #2 from Valentin-Catalin Chirca <valentin.chirca at windriver.com> ---
The following shows this is fixed starting with clang 10.0.0:

https://godbolt.org/z/hT4fKa5WT

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210713/53a53100/attachment-0001.html>


More information about the llvm-bugs mailing list