[LLVMbugs] [Bug 20859] New: Integrate Code Duplication Detection into the clang analyzer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 5 12:04:50 PDT 2014


            Bug ID: 20859
           Summary: Integrate Code Duplication Detection into the clang
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kremenek at apple.com
          Reporter: mahyar at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Duplicate code is often an obvious coding bad practice that quickly creates
future bugs.  If you can detect it easily inside a code base that clang / xcode
supports, it would be very helpful.  

Duplicate code detection is unlikely to be supported well for apple only
languages such as objective-c, objective-c++ or swift, so it would be best for
the clang analyzer would implement it.

A few examples of current implementations for other languages are CPD, Sonar
Qube and Visual Studio:


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/20140905/54cec636/attachment.html>

More information about the llvm-bugs mailing list