diff --git a/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp index 8c4c7cde551e08616fdc46655c8e5e43cb553430..72a3b0a82dfb2ebaa87fe88335caa07c54f9c356 100644 --- a/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp +++ b/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/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp b/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp index bbf451f8aeba5f6686cea091c23e203e996cf8d2..f0b7a7d60c050f5071914389ee7e5c9dba69cb26 100644 --- a/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp +++ b/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/unittests/AST/ASTContextParentMapTest.cpp b/unittests/AST/ASTContextParentMapTest.cpp index b1d7db4164ef2685bcc0bd29848777a039ec35e0..a39189620b69cd27e96a4d61a3c4acc678a4d010 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 c8a5ddffce9c16da974ff43b773a00cdb1896546..3cc38fb55b2e06c9e2ae1608e9d059632c9e66c6 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 268463da4533a288d84ec9a95da451585f47133a..9df7b780d47f68e3643fe9247fcb5015d4138e61 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;