aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/TransformerTest.cpp
diff options
context:
space:
mode:
authorYitzhak Mandelbaum <yitzhakm@google.com>2019-10-16 14:26:20 +0000
committerYitzhak Mandelbaum <yitzhakm@google.com>2019-10-16 14:26:20 +0000
commitc14f1ea25e0505625560db81209a319b6c6caab0 (patch)
treec56cc64af9098415140780de4f41703d1c94761e /clang/unittests/Tooling/TransformerTest.cpp
parent28a3b2aeb48fac0391b328eb1822b3fefe228a05 (diff)
downloadllvm-c14f1ea25e0505625560db81209a319b6c6caab0.zip
llvm-c14f1ea25e0505625560db81209a319b6c6caab0.tar.gz
llvm-c14f1ea25e0505625560db81209a319b6c6caab0.tar.bz2
[libTooling] Fix r374962: add more Transformer forwarding decls.
Summary: The move to a new, single namespace in r374962 left out some type definitions from the old namespace and resulted in one naming conflict (`text`). This revision adds aliases for those definitions and removes one of the `text` functions from the new namespace. Reviewers: alexfh Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D69036 llvm-svn: 375003
Diffstat (limited to 'clang/unittests/Tooling/TransformerTest.cpp')
-rw-r--r--clang/unittests/Tooling/TransformerTest.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/TransformerTest.cpp b/clang/unittests/Tooling/TransformerTest.cpp
index c42976a..ee05b74 100644
--- a/clang/unittests/Tooling/TransformerTest.cpp
+++ b/clang/unittests/Tooling/TransformerTest.cpp
@@ -21,7 +21,6 @@ using namespace ast_matchers;
namespace {
using ::testing::IsEmpty;
using transformer::RewriteRule;
-using transformer::text;
constexpr char KHeaderContents[] = R"cc(
struct string {