https://github.com/kazutakahirata created 
https://github.com/llvm/llvm-project/pull/140354

We do use MappingTraits in this file, but all uses are inside the
llvm::yaml namespace, so we don't rely on the "using" decl.


>From 217f8042a785d0c1f452e62bc00b84c1fb8caebf Mon Sep 17 00:00:00 2001
From: Kazu Hirata <k...@google.com>
Date: Sat, 10 May 2025 12:08:45 -0700
Subject: [PATCH] [clang-include-fixer] Remove an unused "using" decl (NFC)

We do use MappingTraits in this file, but all uses are inside the
llvm::yaml namespace, so we don't rely on the "using" decl.
---
 .../clang-include-fixer/find-all-symbols/SymbolInfo.cpp          | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/clang-tools-extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp 
b/clang-tools-extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp
index 4a5f8353b4105..3ac3f73b6cb9a 100644
--- a/clang-tools-extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp
+++ b/clang-tools-extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp
@@ -12,7 +12,6 @@
 #include "llvm/Support/YAMLTraits.h"
 #include "llvm/Support/raw_ostream.h"
 
-using llvm::yaml::MappingTraits;
 using ContextType = clang::find_all_symbols::SymbolInfo::ContextType;
 using clang::find_all_symbols::SymbolInfo;
 using clang::find_all_symbols::SymbolAndSignals;

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to