[clang-tools-extra] 255ee64 - [clang-tools-extra] Remove unused using (NFC)

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 31 10:51:20 PST 2021


Author: Kazu Hirata
Date: 2021-12-31T10:51:10-08:00
New Revision: 255ee643a8c559375a9c9787ef7d121790040818

URL: https://github.com/llvm/llvm-project/commit/255ee643a8c559375a9c9787ef7d121790040818
DIFF: https://github.com/llvm/llvm-project/commit/255ee643a8c559375a9c9787ef7d121790040818.diff

LOG: [clang-tools-extra] Remove unused using (NFC)

Identified by misc-unused-using-decls.

Added: 
    

Modified: 
    clang-tools-extra/clang-doc/Mapper.cpp
    clang-tools-extra/clang-include-fixer/YamlSymbolIndex.cpp
    clang-tools-extra/clang-include-fixer/find-all-symbols/SymbolInfo.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-doc/Mapper.cpp b/clang-tools-extra/clang-doc/Mapper.cpp
index de7e4c3410866..16a52e843fccc 100644
--- a/clang-tools-extra/clang-doc/Mapper.cpp
+++ b/clang-tools-extra/clang-doc/Mapper.cpp
@@ -14,8 +14,6 @@
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/Support/Error.h"
 
-using clang::comments::FullComment;
-
 namespace clang {
 namespace doc {
 

diff  --git a/clang-tools-extra/clang-include-fixer/YamlSymbolIndex.cpp b/clang-tools-extra/clang-include-fixer/YamlSymbolIndex.cpp
index de72e9a9b9324..4271d9aa4e677 100644
--- a/clang-tools-extra/clang-include-fixer/YamlSymbolIndex.cpp
+++ b/clang-tools-extra/clang-include-fixer/YamlSymbolIndex.cpp
@@ -15,7 +15,6 @@
 #include <string>
 #include <vector>
 
-using clang::find_all_symbols::SymbolInfo;
 using clang::find_all_symbols::SymbolAndSignals;
 
 namespace clang {

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 e5b4dba4b7ad7..4a5f8353b4105 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
@@ -13,8 +13,6 @@
 #include "llvm/Support/raw_ostream.h"
 
 using llvm::yaml::MappingTraits;
-using llvm::yaml::IO;
-using llvm::yaml::Input;
 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