summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-06-08 15:34:36 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-06-08 15:34:36 +0000
commitcf236ec299a8e14b86dd767babfb52c3629a7d2f (patch)
tree532969a07738c364b801c3ad05c98108c37374b8
parent3971dbac5728ceea7c728ddc1f8c4d4d71b7f6d3 (diff)
downloadbcm5719-llvm-cf236ec299a8e14b86dd767babfb52c3629a7d2f.tar.gz
bcm5719-llvm-cf236ec299a8e14b86dd767babfb52c3629a7d2f.zip
Prune away some unused using decls. NFC.
Found by clang's misc-unused-using-decls. llvm-svn: 272156
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp1
-rw-r--r--clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp1
-rw-r--r--clang/unittests/AST/ASTContextParentMapTest.cpp4
-rw-r--r--clang/unittests/AST/ASTImporterTest.cpp4
-rw-r--r--clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp3
5 files changed, 0 insertions, 13 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
index 8c4c7cde551..72a3b0a82df 100644
--- a/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
@@ -29,7 +29,6 @@
using namespace clang;
using namespace ento;
-using llvm::APInt;
using llvm::APSInt;
namespace {
diff --git a/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp b/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
index bbf451f8aeb..f0b7a7d60c0 100644
--- a/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
+++ b/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
@@ -51,7 +51,6 @@
using namespace clang;
using namespace ento;
-using llvm::SmallPtrSet;
#define DEBUG_TYPE "AnalysisConsumer"
diff --git a/clang/unittests/AST/ASTContextParentMapTest.cpp b/clang/unittests/AST/ASTContextParentMapTest.cpp
index b1d7db4164e..a39189620b6 100644
--- a/clang/unittests/AST/ASTContextParentMapTest.cpp
+++ b/clang/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/clang/unittests/AST/ASTImporterTest.cpp b/clang/unittests/AST/ASTImporterTest.cpp
index c8a5ddffce9..3cc38fb55b2 100644
--- a/clang/unittests/AST/ASTImporterTest.cpp
+++ b/clang/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/clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp b/clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp
index 268463da453..9df7b780d47 100644
--- a/clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud