[LLVMbugs] [Bug 20711] New: tools/llvm-nm/llvm-nm.cpp:354: possible cut'n'paste error ?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 20 06:35:27 PDT 2014


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

            Bug ID: 20711
           Summary: tools/llvm-nm/llvm-nm.cpp:354: possible cut'n'paste
                    error ?
           Product: new-bugs
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dcb314 at hotmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

[trunk/llvm/tools/llvm-nm/llvm-nm.cpp:354]: (style) Expression is always false
because 'else if' condition matches previous condition at line 351.

      if ((NDesc & MachO::REFERENCE_TYPE) ==
          MachO::REFERENCE_FLAG_UNDEFINED_LAZY)
        outs() << "undefined [lazy bound]) ";
      else if ((NDesc & MachO::REFERENCE_TYPE) ==
               MachO::REFERENCE_FLAG_UNDEFINED_LAZY)
        outs() << "undefined [private lazy bound]) ";

-- 
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/20140820/70eee258/attachment.html>


More information about the llvm-bugs mailing list