[llvm-bugs] [Bug 32388] New: False Positive CloneChecker

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 23 02:01:20 PDT 2017


            Bug ID: 32388
           Summary: False Positive CloneChecker
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: xiangzhai83 at gmail.com
                CC: llvm-bugs at lists.llvm.org

Hi LLVM developers,

CloneChecker is very useful:
* Potential copy-paste error; did you really mean to use 'track' here?
* Duplicate code detected https://pbs.twimg.com/media/C7l0bHzUwAAuvFj.jpg

It is able to detect Copy-paste issue as Coverity scan

but too much False Positives! https://pbs.twimg.com/media/C7l0x78V4AAnpUw.jpg

I will deep into it then try to fix :)

Leslie Zhai

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/20170323/1f0a9461/attachment.html>

More information about the llvm-bugs mailing list