[clang-tools-extra] [clang-include-fixer] Remove an unused "using" decl (NFC) (PR #140354)
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Fri May 16 22:05:59 PDT 2025
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 <kazu at 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;
More information about the cfe-commits
mailing list