Author: Kazu Hirata Date: 2025-05-17T17:00:40-07:00 New Revision: c0ca030782f9c572a5df5f3506652e81aeecad0d
URL: https://github.com/llvm/llvm-project/commit/c0ca030782f9c572a5df5f3506652e81aeecad0d DIFF: https://github.com/llvm/llvm-project/commit/c0ca030782f9c572a5df5f3506652e81aeecad0d.diff LOG: [clang-include-fixer] Remove an unused "using" decl (NFC) (#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. Added: Modified: clang-tools-extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp Removed: ################################################################################ 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