[llvm] 3b1761b - [llvm] Stop including map (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 3 11:31:44 PST 2023
Author: Kazu Hirata
Date: 2023-12-03T11:31:38-08:00
New Revision: 3b1761b845181073dbb3993ab5965ed1dfd67471
URL: https://github.com/llvm/llvm-project/commit/3b1761b845181073dbb3993ab5965ed1dfd67471
DIFF: https://github.com/llvm/llvm-project/commit/3b1761b845181073dbb3993ab5965ed1dfd67471.diff
LOG: [llvm] Stop including map (NFC)
Identified with clangd.
Added:
Modified:
llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h
llvm/include/llvm/IR/ReplaceConstant.h
llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
llvm/lib/DWARFLinkerParallel/DWARFLinkerGlobalData.h
llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
llvm/tools/llvm-xray/xray-account.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h
index ca429d2c28932..3f7f8c7838fd1 100644
--- a/llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h
+++ b/llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h
@@ -20,7 +20,6 @@
#include "llvm/DebugInfo/LogicalView/Core/LVSupport.h"
#include <limits>
#include <list>
-#include <map>
#include <string>
namespace llvm {
diff --git a/llvm/include/llvm/IR/ReplaceConstant.h b/llvm/include/llvm/IR/ReplaceConstant.h
index 72823c9ab164d..a158ab61757eb 100644
--- a/llvm/include/llvm/IR/ReplaceConstant.h
+++ b/llvm/include/llvm/IR/ReplaceConstant.h
@@ -14,7 +14,6 @@
#ifndef LLVM_IR_REPLACECONSTANT_H
#define LLVM_IR_REPLACECONSTANT_H
-#include <map>
#include <vector>
namespace llvm {
diff --git a/llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp b/llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
index 35a79ec04b6e7..dda3380c04ea9 100644
--- a/llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
+++ b/llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
@@ -17,7 +17,6 @@
#include "llvm/ADT/StringSwitch.h"
#include "llvm/BinaryFormat/MsgPackDocument.h"
-#include <map>
#include <utility>
namespace llvm {
diff --git a/llvm/lib/DWARFLinkerParallel/DWARFLinkerGlobalData.h b/llvm/lib/DWARFLinkerParallel/DWARFLinkerGlobalData.h
index 220739a1214c6..31724770093d6 100644
--- a/llvm/lib/DWARFLinkerParallel/DWARFLinkerGlobalData.h
+++ b/llvm/lib/DWARFLinkerParallel/DWARFLinkerGlobalData.h
@@ -13,7 +13,6 @@
#include "llvm/DWARFLinkerParallel/DWARFLinker.h"
#include "llvm/DWARFLinkerParallel/StringPool.h"
#include "llvm/Support/PerThreadBumpPtrAllocator.h"
-#include <map>
namespace llvm {
diff --git a/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp b/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
index 1a4251353e2da..90123b3f0a965 100644
--- a/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
@@ -27,8 +27,6 @@
#include "llvm/IR/Module.h"
#include "llvm/Support/DynamicLibrary.h"
-#include <map>
-
#define DEBUG_TYPE "orc"
using namespace llvm;
diff --git a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
index f45373178576a..d781605a601f7 100644
--- a/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
+++ b/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp
@@ -9,7 +9,6 @@
#include "MCInstrDescView.h"
#include <iterator>
-#include <map>
#include <tuple>
#include "llvm/ADT/STLExtras.h"
diff --git a/llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp b/llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
index 094dca22f77b0..e5ae726546d4e 100644
--- a/llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
+++ b/llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
@@ -31,7 +31,6 @@
#include <cstring>
#include <inttypes.h>
#include <iostream>
-#include <map>
#include <optional>
#include <string>
#include <system_error>
diff --git a/llvm/tools/llvm-xray/xray-account.h b/llvm/tools/llvm-xray/xray-account.h
index 38d3ec989577f..5ced271dcc7c5 100644
--- a/llvm/tools/llvm-xray/xray-account.h
+++ b/llvm/tools/llvm-xray/xray-account.h
@@ -13,7 +13,6 @@
#ifndef LLVM_TOOLS_LLVM_XRAY_XRAY_ACCOUNT_H
#define LLVM_TOOLS_LLVM_XRAY_XRAY_ACCOUNT_H
-#include <map>
#include <utility>
#include <vector>
More information about the llvm-commits
mailing list