summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2017-04-06 14:34:07 +0000
committerArtem Dergachev <artem.dergachev@gmail.com>2017-04-06 14:34:07 +0000
commitda9e718fb4911cc4cf900b8428b4c7da5d19a47a (patch)
tree23f7ea3cc5add91d763e7bc50ca096792b4bf6a1 /llvm/lib
parent02c162d71aa0e4cbed5e6d67d5a4ea820b9004e5 (diff)
downloadbcm5719-llvm-da9e718fb4911cc4cf900b8428b4c7da5d19a47a.tar.gz
bcm5719-llvm-da9e718fb4911cc4cf900b8428b4c7da5d19a47a.zip
[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
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud