[llvm-bugs] [Bug 41487] New: lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp:10153: suspicious test
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Apr 13 04:57:28 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41487
Bug ID: 41487
Summary: lldb/source/Plugins/Instruction/ARM/EmulateInstruction
ARM.cpp:10153: suspicious test
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dcb314 at hotmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
lldb/source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp:10153]: (style)
Same expression on both sides of '||'.
Source code is
if ((d == 15) || (m == 15) || (m == 15) || (s == 15))
Maybe better code
if ((d == 15) || (n == 15) || (m == 15) || (s == 15))
--
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/20190413/cba88530/attachment.html>
More information about the llvm-bugs
mailing list