summaryrefslogtreecommitdiffstats
path: root/lib/Analysis/CloneDetection.cpp
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2017-09-06 13:20:51 +0000
committerJohannes Altmanninger <aclopte@gmail.com>2017-09-06 13:20:51 +0000
commit451a8da2abe4cbc46bcf40fe15df72a885cb5f72 (patch)
tree0a3b711cd902ca158d269e4c6bb9ab0a5f21cf11 /lib/Analysis/CloneDetection.cpp
parentc5cd22bdcafa1970196b6c05fb5bc3f58bfe9d14 (diff)
[AST] Add TableGen for StmtDataCollectors
Summary: This adds an option "-gen-clang-data-collectors" to the Clang TableGen that is used to generate StmtDataCollectors.inc. Reviewers: arphaman, teemperor! Subscribers: mgorny, cfe-commits Differential Revision: https://reviews.llvm.org/D37383 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CloneDetection.cpp')
-rw-r--r--lib/Analysis/CloneDetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CloneDetection.cpp b/lib/Analysis/CloneDetection.cpp
index acc1525ce4..098803f9a4 100644
--- a/lib/Analysis/CloneDetection.cpp
+++ b/lib/Analysis/CloneDetection.cpp
@@ -205,7 +205,7 @@ public:
ConstStmtVisitor<CloneTypeIIStmtDataCollector<T>>::Visit##CLASS(S); \
}
-#include "../AST/StmtDataCollectors.inc"
+#include "clang/AST/StmtDataCollectors.inc"
// Type II clones ignore variable names and literals, so let's skip them.
#define SKIP(CLASS) \