[llvm] a7627f7 - [llvm] Stop including list (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 2 10:47:32 PST 2023
Author: Kazu Hirata
Date: 2023-12-02T10:47:26-08:00
New Revision: a7627f721f3daa20629e44316e8b51e75ce78bb4
URL: https://github.com/llvm/llvm-project/commit/a7627f721f3daa20629e44316e8b51e75ce78bb4
DIFF: https://github.com/llvm/llvm-project/commit/a7627f721f3daa20629e44316e8b51e75ce78bb4.diff
LOG: [llvm] Stop including list (NFC)
Identified with clangd.
Added:
Modified:
llvm/tools/llvm-jitlink/llvm-jitlink.cpp
llvm/tools/llvm-lto/llvm-lto.cpp
llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.h
llvm/tools/llvm-profgen/PerfReader.h
llvm/tools/llvm-profgen/ProfiledBinary.h
llvm/tools/llvm-remarkutil/RemarkCounter.h
Removed:
################################################################################
diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
index d73d247599b9e..17fb70f39b6a1 100644
--- a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
+++ b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
@@ -58,7 +58,6 @@
#include <cstring>
#include <deque>
-#include <list>
#include <string>
#ifdef LLVM_ON_UNIX
diff --git a/llvm/tools/llvm-lto/llvm-lto.cpp b/llvm/tools/llvm-lto/llvm-lto.cpp
index abd45b305df0e..4141aa85d0860 100644
--- a/llvm/tools/llvm-lto/llvm-lto.cpp
+++ b/llvm/tools/llvm-lto/llvm-lto.cpp
@@ -52,7 +52,6 @@
#include <cassert>
#include <cstdint>
#include <cstdlib>
-#include <list>
#include <map>
#include <memory>
#include <string>
diff --git a/llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.h b/llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.h
index f43c5c11bdfd5..ec3e8d98e8bc6 100644
--- a/llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.h
+++ b/llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.h
@@ -15,7 +15,6 @@
#include "llvm/DebugInfo/PDB/PDBSymbolData.h"
#include "llvm/DebugInfo/PDB/PDBSymbolFunc.h"
-#include <list>
#include <memory>
#include <unordered_map>
diff --git a/llvm/tools/llvm-profgen/PerfReader.h b/llvm/tools/llvm-profgen/PerfReader.h
index 14137e82572d7..d4164cc4fa178 100644
--- a/llvm/tools/llvm-profgen/PerfReader.h
+++ b/llvm/tools/llvm-profgen/PerfReader.h
@@ -15,7 +15,6 @@
#include "llvm/Support/Regex.h"
#include <cstdint>
#include <fstream>
-#include <list>
#include <map>
#include <vector>
diff --git a/llvm/tools/llvm-profgen/ProfiledBinary.h b/llvm/tools/llvm-profgen/ProfiledBinary.h
index 8f42ff11a38a9..0fd12f5acd6b4 100644
--- a/llvm/tools/llvm-profgen/ProfiledBinary.h
+++ b/llvm/tools/llvm-profgen/ProfiledBinary.h
@@ -33,7 +33,6 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Path.h"
#include "llvm/Transforms/IPO/SampleContextTracker.h"
-#include <list>
#include <map>
#include <set>
#include <sstream>
diff --git a/llvm/tools/llvm-remarkutil/RemarkCounter.h b/llvm/tools/llvm-remarkutil/RemarkCounter.h
index 312d0e02529b7..34d5bff774055 100644
--- a/llvm/tools/llvm-remarkutil/RemarkCounter.h
+++ b/llvm/tools/llvm-remarkutil/RemarkCounter.h
@@ -14,7 +14,6 @@
#include "RemarkUtilHelpers.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/Support/Regex.h"
-#include <list>
namespace llvm {
namespace remarks {
More information about the llvm-commits
mailing list