[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


https://bugs.llvm.org/show_bug.cgi?id=32388

            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?
https://pbs.twimg.com/media/C7l0Ze7UwAAEP5e.jpg
* Duplicate code detected https://pbs.twimg.com/media/C7l0bHzUwAAuvFj.jpg

It is able to detect Copy-paste issue as Coverity scan
https://github.com/KDE/k3b/commit/79da513fdfffbbe3a32daa928088b6ce3dc85707

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

I will deep into it then try to fix :)

Regards,
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