llvm-project/clang/include
Artem Dergachev ba816326f3 [analyzer] Add basic capabilities to detect source code clones.
This patch adds the CloneDetector class which allows searching source code
for clones.

For every statement or group of statements within a compound statement,
CloneDetector computes a hash value, and finds clones by detecting
identical hash values.

This initial patch only provides a simple hashing mechanism
that hashes the kind of each sub-statement.

This patch also adds CloneChecker - a simple static analyzer checker
that uses CloneDetector to report copy-pasted code.

Patch by Raphael Isemann!

Differential Revision: https://reviews.llvm.org/D20795

llvm-svn: 276782
2016-07-26 18:13:12 +00:00
..
clang [analyzer] Add basic capabilities to detect source code clones. 2016-07-26 18:13:12 +00:00
clang-c [OpenMP] Sema and parsing for 'target simd' pragma 2016-07-20 22:57:10 +00:00
CMakeLists.txt