[cfe-dev] CopyPaste detection clang static analyzer
Vassil Vassilev
vvasilev at cern.ch
Wed Feb 11 04:17:53 PST 2015
On 10/02/15 13:27, Sylvestre Ledru wrote:
> Hello,
>
>
>
> On 10/02/2015 13:06, Vassil Vassilev wrote:
>> Hi all,
>> I just wanted to bump this up (given GSoC is starting). I didn't manage to get a good student for this project (proposal is below) last year :(. I thought maybe if we went through the LLVM mentoring organization would be better. Do you think this would make a good GSoC project from Clang's
>> perspective? I'd be happy to update the proposal to make it more attractive or general-purpose.
>> Vassil
>>
>>
>> Code copy/paste detection
>>
>> *Description*:The copy/paste is common programming practice. Most of the programmers start from a code snippet that already exists in the system and modify it to match their needs. Easily some of the code snippets end up being copied dozens of times, which leads to worse maintainability,
>> understandability and logical design. Clang(link is external) <http://clang.llvm.org> and clang's static analyzer(link is external) <http://http://clang-analyzer.llvm.org/> provide all the building blocks to build a generic C/C++ copy/paste detector.
> A talk has been done on this topic at FOSDEM:
> http://llvm.org/devmtg/2015-02/
> Slides:
> http://llvm.org/devmtg/2015-02/slides/sargsyan-code-clone.pdf
Thanks! IIUC this does clone detection on IR level, which is IMO sort-of
different. Do you know where I can find the source of this project?
Vassil
>
> Cheers,
> Sylvestre
>
More information about the cfe-dev
mailing list