[llvm] 1564c22 - [llvm] Stop including llvm/ADT/SmallString.h (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 11 12:32:22 PST 2023


Author: Kazu Hirata
Date: 2023-11-11T12:32:13-08:00
New Revision: 1564c225efec88c473d55d3de6ac25aa184623f0

URL: https://github.com/llvm/llvm-project/commit/1564c225efec88c473d55d3de6ac25aa184623f0
DIFF: https://github.com/llvm/llvm-project/commit/1564c225efec88c473d55d3de6ac25aa184623f0.diff

LOG: [llvm] Stop including llvm/ADT/SmallString.h (NFC)

Identified with clangd.

Added: 
    

Modified: 
    llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
    llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.h
    llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    llvm/tools/llvm-dwarfutil/Options.h
    llvm/tools/llvm-reduce/TestRunner.h
    llvm/unittests/TextAPI/TextStubHelpers.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
index 50f2c9a09ff5def..67089d9e7d41be9 100644
--- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
+++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h
@@ -14,7 +14,6 @@
 #define LLVM_DEBUGINFO_LOGICALVIEW_CORE_LVSUPPORT_H
 
 #include "llvm/ADT/SmallBitVector.h"
-#include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/Twine.h"
 #include "llvm/DebugInfo/LogicalView/Core/LVStringPool.h"
 #include "llvm/Support/Debug.h"

diff  --git a/llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.h b/llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.h
index 8d47ab925cd3a4e..0835fad1e667a38 100644
--- a/llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.h
+++ b/llvm/lib/DWARFLinkerParallel/DWARFLinkerUnit.h
@@ -11,7 +11,6 @@
 
 #include "DWARFLinkerGlobalData.h"
 #include "OutputSections.h"
-#include "llvm/ADT/SmallString.h"
 #include "llvm/CodeGen/DIE.h"
 #include "llvm/DWARFLinkerParallel/DWARFLinker.h"
 #include "llvm/DWARFLinkerParallel/StringPool.h"

diff  --git a/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp b/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
index f6256aa57304bda..e9264a5d851c0b5 100644
--- a/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+++ b/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
@@ -16,7 +16,6 @@
 #include "TargetInfo/RISCVTargetInfo.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SmallBitVector.h"
-#include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/StringExtras.h"

diff  --git a/llvm/tools/llvm-dwarfutil/Options.h b/llvm/tools/llvm-dwarfutil/Options.h
index e97833bdd79e7dd..f5e0a16c800a67b 100644
--- a/llvm/tools/llvm-dwarfutil/Options.h
+++ b/llvm/tools/llvm-dwarfutil/Options.h
@@ -9,7 +9,6 @@
 #ifndef LLVM_TOOLS_LLVM_DWARFUTIL_OPTIONS_H
 #define LLVM_TOOLS_LLVM_DWARFUTIL_OPTIONS_H
 
-#include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/StringRef.h"
 
 namespace llvm {

diff  --git a/llvm/tools/llvm-reduce/TestRunner.h b/llvm/tools/llvm-reduce/TestRunner.h
index 136cd80ea1c6201..16d3dcd244a8339 100644
--- a/llvm/tools/llvm-reduce/TestRunner.h
+++ b/llvm/tools/llvm-reduce/TestRunner.h
@@ -10,7 +10,6 @@
 #define LLVM_TOOLS_LLVM_REDUCE_TESTRUNNER_H
 
 #include "ReducerWorkItem.h"
-#include "llvm/ADT/SmallString.h"
 #include "llvm/IR/Module.h"
 #include "llvm/Support/Error.h"
 #include "llvm/Support/FileSystem.h"

diff  --git a/llvm/unittests/TextAPI/TextStubHelpers.h b/llvm/unittests/TextAPI/TextStubHelpers.h
index f8409b10912c34b..f3303da3b951b09 100644
--- a/llvm/unittests/TextAPI/TextStubHelpers.h
+++ b/llvm/unittests/TextAPI/TextStubHelpers.h
@@ -6,7 +6,6 @@
 //
 //===-----------------------------------------------------------------------===/
 
-#include "llvm/ADT/SmallString.h"
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/TextAPI/InterfaceFile.h"
 #include <algorithm>


        


More information about the llvm-commits mailing list