[llvm-bugs] [Bug 32660] New: tools/bugpoint/CrashDebugger.cpp:1116: suspicious code

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 14 01:32:22 PDT 2017


http://bugs.llvm.org/show_bug.cgi?id=32660

            Bug ID: 32660
           Summary: tools/bugpoint/CrashDebugger.cpp:1116: suspicious code
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcb314 at hotmail.com
                CC: llvm-bugs at lists.llvm.org

tools/bugpoint/CrashDebugger.cpp:1116]: (style) Boolean result is used in
bitwise operation. Clarify expression with parentheses.

Source code is

  if (!DisableSimplifyCFG & !BugpointIsInterrupted) {

Maybe better code

  if (!DisableSimplifyCFG && !BugpointIsInterrupted) {

-- 
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/20170414/39e2809c/attachment.html>


More information about the llvm-bugs mailing list