[PATCH] D20795: Added basic capabilities to detect source code clones.
Raphael Isemann via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 25 16:36:47 PDT 2016
teemperor updated this revision to Diff 65439.
teemperor marked 7 inline comments as done.
teemperor added a comment.
- Fixed the minor problems as pointed out by Artem.
- Now using AnalysisConsumer instead of RecursiveASTVisitor.
- Function names are now confirming to LLVM code-style.
- Renamed DataCollectVisitor to CloneSignatureGenerator (as it's no longer following the Visitor pattern).
- Added tests for clone detection in ObjC-methods and blocks.
- Moved false-positive tests into own file.
https://reviews.llvm.org/D20795
Files:
include/clang/Analysis/CloneDetection.h
include/clang/StaticAnalyzer/Checkers/Checkers.td
lib/Analysis/CMakeLists.txt
lib/Analysis/CloneDetection.cpp
lib/StaticAnalyzer/Checkers/CMakeLists.txt
lib/StaticAnalyzer/Checkers/CloneChecker.cpp
test/Analysis/copypaste/blocks.cpp
test/Analysis/copypaste/false-positives.cpp
test/Analysis/copypaste/functions.cpp
test/Analysis/copypaste/objc-methods.m
test/Analysis/copypaste/sub-sequences.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20795.65439.patch
Type: text/x-patch
Size: 29212 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160725/bca96835/attachment-0001.bin>
More information about the cfe-commits
mailing list