diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-06-08 15:34:36 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-06-08 15:34:36 +0000 |
commit | c801312a7d686e233f8719ca0004b511edeb5ab9 (patch) | |
tree | 425e4291e11062c9f22864528b0a5a3bfe7f04e4 /unittests | |
parent | de5698de405866349ba1db4be46093909b582841 (diff) |
Prune away some unused using decls. NFC.
Found by clang's misc-unused-using-decls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/AST/ASTContextParentMapTest.cpp | 4 | ||||
-rw-r--r-- | unittests/AST/ASTImporterTest.cpp | 4 | ||||
-rw-r--r-- | unittests/ASTMatchers/Dynamic/VariantValueTest.cpp | 3 |
3 files changed, 0 insertions, 11 deletions
diff --git a/unittests/AST/ASTContextParentMapTest.cpp b/unittests/AST/ASTContextParentMapTest.cpp index b1d7db4164..a39189620b 100644 --- a/unittests/AST/ASTContextParentMapTest.cpp +++ b/unittests/AST/ASTContextParentMapTest.cpp @@ -21,10 +21,6 @@ namespace clang { namespace ast_matchers { -using clang::tooling::newFrontendActionFactory; -using clang::tooling::runToolOnCodeWithArgs; -using clang::tooling::FrontendActionFactory; - TEST(GetParents, ReturnsParentForDecl) { MatchVerifier<Decl> Verifier; EXPECT_TRUE( diff --git a/unittests/AST/ASTImporterTest.cpp b/unittests/AST/ASTImporterTest.cpp index c8a5ddffce..3cc38fb55b 100644 --- a/unittests/AST/ASTImporterTest.cpp +++ b/unittests/AST/ASTImporterTest.cpp @@ -22,10 +22,6 @@ namespace clang { namespace ast_matchers { -using clang::tooling::newFrontendActionFactory; -using clang::tooling::runToolOnCodeWithArgs; -using clang::tooling::FrontendActionFactory; - typedef std::vector<std::string> StringVector; void getLangArgs(Language Lang, StringVector &Args) { diff --git a/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp b/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp index 268463da45..9df7b780d4 100644 --- a/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp +++ b/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp @@ -16,9 +16,6 @@ namespace ast_matchers { namespace dynamic { namespace { -using ast_matchers::internal::DynTypedMatcher; -using ast_matchers::internal::Matcher; - TEST(VariantValueTest, Unsigned) { const unsigned kUnsigned = 17; VariantValue Value = kUnsigned; |