[PATCH] D20795: Added basic capabilities to detect source code clones.

Raphael Isemann via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 7 16:30:33 PDT 2016


teemperor updated this revision to Diff 63159.
teemperor added a comment.

- Fixed the problems pointed out by Vassil (Thanks!)
- Comments now have less line breaks.
- Added more documentation to HashValue, it's hash function and the used prime numbers.
- Added a typedef for StmtSequence::iterator.
- StmtSequence::end() is now always returning a correct iterator.


http://reviews.llvm.org/D20795

Files:
  include/clang/AST/CloneDetection.h
  include/clang/StaticAnalyzer/Checkers/Checkers.td
  lib/AST/CMakeLists.txt
  lib/AST/CloneDetection.cpp
  lib/StaticAnalyzer/Checkers/CMakeLists.txt
  lib/StaticAnalyzer/Checkers/CloneChecker.cpp
  test/Analysis/copypaste/test-min-max.cpp
  test/Analysis/copypaste/test-sub-sequences.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20795.63159.patch
Type: text/x-patch
Size: 27749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160707/fc8b2bd9/attachment-0001.bin>


More information about the cfe-commits mailing list