[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
diff --git a/clang/unittests/AST/DataCollectionTest.cpp b/clang/unittests/AST/DataCollectionTest.cpp
index d6bb9cb..e8ebd16 100644
--- a/clang/unittests/AST/DataCollectionTest.cpp
+++ b/clang/unittests/AST/DataCollectionTest.cpp
@@ -46,7 +46,7 @@
ConstStmtVisitor<StmtDataCollector>::Visit##CLASS(S); \
}
-#include "../../lib/AST/StmtDataCollectors.inc"
+#include "clang/AST/StmtDataCollectors.inc"
};
} // end anonymous namespace