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: unassignedb...@nondot.org
Reporter: dcb...@hotmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs