diff options
author | Johannes Altmanninger <aclopte@gmail.com> | 2017-09-06 13:20:51 +0000 |
---|---|---|
committer | Johannes Altmanninger <aclopte@gmail.com> | 2017-09-06 13:20:51 +0000 |
commit | 1509da083a69fac63785708b9ac00d05f33445a8 (patch) | |
tree | 548295a74c601529897e900a194181315fdd93eb /clang/lib/Analysis/CloneDetection.cpp | |
parent | d614a1c15a44746d42cdbf586d3500b489fbe34b (diff) | |
download | bcm5719-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.cpp | 2 |
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) \ |