[llvm-bugs] [Bug 50381] New: APINotes/Types.h:680: suspicious if ?
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 18 00:31:29 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50381
Bug ID: 50381
Summary: APINotes/Types.h:680: suspicious if ?
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: dcb314 at hotmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
clang/APINotes/Types.h:680:22: warning: logical ‘and’ of mutually exclusive
test
s is always false [-Wlogical-op]
Source code is
if (!HasFlagEnum && HasFlagEnum)
setFlagEnum(RHS.isFlagEnum());
--
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/20210518/793ccf34/attachment.html>
More information about the llvm-bugs
mailing list