Go to file
Artem Dergachev da9e718fb4 [analyzer] Reland r299544 "Add a modular constraint system to the CloneDetector"
Hopefully fix crashes by unshadowing the variable.


Original commit message:

A big part of the clone detection code is functionality for filtering clones and
clone groups based on different criteria. So far this filtering process was
hardcoded into the CloneDetector class, which made it hard to understand and,
ultimately, to extend.

This patch splits the CloneDetector's logic into a sequence of reusable
constraints that are used for filtering clone groups. These constraints
can be turned on and off and reodreder at will, and new constraints are easy
to implement if necessary.

Unit tests are added for the new constraint interface.

This is a refactoring patch - no functional change intended.

Patch by Raphael Isemann!

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

llvm-svn: 299653
2017-04-06 14:34:07 +00:00
clang [analyzer] Reland r299544 "Add a modular constraint system to the CloneDetector" 2017-04-06 14:34:07 +00:00
clang-tools-extra [clang-tidy] Update docs and help message 2017-04-06 14:27:00 +00:00
compiler-rt [XRay][compiler-rt] Remove unused local variable 2017-04-06 11:27:53 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Restore Missing awk regex tests. Thanks to dexonsmith for noticing, and proposing this as https://reviews.llvm.org/D16541 2017-04-06 14:32:42 +00:00
libcxxabi Fix exception address alignment test for EHABI 2017-04-04 14:03:54 +00:00
libunwind AddressSpace: fix DWARF based unwinding handling on Android 2017-04-05 21:29:38 +00:00
lld [ELF] Remove unnecessary cast and fix comments. NFC. 2017-04-06 09:40:03 +00:00
lldb Update unittests/Host/SocketTest.cpp to also use the new 2017-04-06 03:16:44 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [SelectionDAG] NFC patch removing a redundant check. 2017-04-06 13:00:37 +00:00
openmp Test cancellation_for_sections.c expectedly fails on GCC 2017-04-04 14:39:52 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly] [ScheduleOptimizer] Prevent incorrect tile size computation 2017-04-06 08:20:22 +00:00