summaryrefslogtreecommitdiffstats
path: root/clang/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
commit1509da083a69fac63785708b9ac00d05f33445a8 (patch)
tree548295a74c601529897e900a194181315fdd93eb /clang/lib/Analysis/CloneDetection.cpp
parentd614a1c15a44746d42cdbf586d3500b489fbe34b (diff)
downloadbcm5719-llvm-1509da083a69fac63785708b9ac00d05f33445a8.tar.gz
bcm5719-llvm-1509da083a69fac63785708b9ac00d05f33445a8.zip
[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 llvm-svn: 312634
Diffstat (limited to 'clang/lib/Analysis/CloneDetection.cpp')
-rw-r--r--clang/lib/Analysis/CloneDetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/CloneDetection.cpp b/clang/lib/Analysis/CloneDetection.cpp
index acc1525ce4c..098803f9a41 100644
--- a/clang/lib/Analysis/CloneDetection.cpp
+++ b/clang/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) \
OpenPOWER on IntegriCloud