mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-19 14:44:39 +00:00
Prune away some unused using decls. NFC.
Found by clang's misc-unused-using-decls. llvm-svn: 272156
This commit is contained in:
parent
3971dbac57
commit
cf236ec299
@ -29,7 +29,6 @@
|
||||
|
||||
using namespace clang;
|
||||
using namespace ento;
|
||||
using llvm::APInt;
|
||||
using llvm::APSInt;
|
||||
|
||||
namespace {
|
||||
|
@ -51,7 +51,6 @@
|
||||
|
||||
using namespace clang;
|
||||
using namespace ento;
|
||||
using llvm::SmallPtrSet;
|
||||
|
||||
#define DEBUG_TYPE "AnalysisConsumer"
|
||||
|
||||
|
@ -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(
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user