diff options
| author | Leslie Zhai <lesliezhai@llvm.org.cn> | 2017-06-20 06:44:46 +0000 |
|---|---|---|
| committer | Leslie Zhai <lesliezhai@llvm.org.cn> | 2017-06-20 06:44:46 +0000 |
| commit | 104b6feb10801a57651bb01b553e289b065e6a9a (patch) | |
| tree | 2389a70fbd2a624d87db8db9d2272420adc770c4 /clang/lib/StaticAnalyzer/Checkers | |
| parent | 4dfcec6b62629e9d20d38dd8f8a7bc5f60a1aa8a (diff) | |
| download | bcm5719-llvm-104b6feb10801a57651bb01b553e289b065e6a9a.tar.gz bcm5719-llvm-104b6feb10801a57651bb01b553e289b065e6a9a.zip | |
[analyzer] Teach CloneDetection about Qt Meta-Object Compiler to filter auto generated files
Reviewers: v.g.vassilev, teemperor
Reviewed By: teemperor
Differential Revision: https://reviews.llvm.org/D34353
llvm-svn: 305774
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp index d0898adf49f..83955c586b6 100644 --- a/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp @@ -82,7 +82,7 @@ void CloneChecker::checkEndOfTranslationUnit(const TranslationUnitDecl *TU, std::vector<CloneDetector::CloneGroup> AllCloneGroups; Detector.findClones(AllCloneGroups, - AutoGeneratedCloneConstraint(IgnoredFilesPattern), + FilenamePatternConstraint(IgnoredFilesPattern), RecursiveCloneTypeIIConstraint(), MinComplexityConstraint(MinComplexity), MinGroupSizeConstraint(2), OnlyLargestCloneConstraint()); |

