[llvm] 2ca3b6f - [TableGen] Include <set> (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 11 12:14:30 PST 2023
Author: Kazu Hirata
Date: 2023-11-11T12:14:24-08:00
New Revision: 2ca3b6f6b7fb403be624cc02ed744bd3465e1ed8
URL: https://github.com/llvm/llvm-project/commit/2ca3b6f6b7fb403be624cc02ed744bd3465e1ed8
DIFF: https://github.com/llvm/llvm-project/commit/2ca3b6f6b7fb403be624cc02ed744bd3465e1ed8.diff
LOG: [TableGen] Include <set> (NFC)
This patch adds "#include <set>" to several files that are relying on
transitive includes of <set>. It in turn unblocks the removal of
unnecessary includes of llvm/ADT/SmallSet.h in several other files.
Added:
Modified:
llvm/utils/TableGen/CallingConvEmitter.cpp
llvm/utils/TableGen/FastISelEmitter.cpp
llvm/utils/TableGen/X86FoldTablesEmitter.cpp
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/CallingConvEmitter.cpp b/llvm/utils/TableGen/CallingConvEmitter.cpp
index 06670e84d857260..02e7000130cde17 100644
--- a/llvm/utils/TableGen/CallingConvEmitter.cpp
+++ b/llvm/utils/TableGen/CallingConvEmitter.cpp
@@ -16,6 +16,7 @@
#include "llvm/TableGen/Record.h"
#include "llvm/TableGen/TableGenBackend.h"
#include <deque>
+#include <set>
using namespace llvm;
diff --git a/llvm/utils/TableGen/FastISelEmitter.cpp b/llvm/utils/TableGen/FastISelEmitter.cpp
index 3f3a63de0c0c713..b773a6b91ee2e92 100644
--- a/llvm/utils/TableGen/FastISelEmitter.cpp
+++ b/llvm/utils/TableGen/FastISelEmitter.cpp
@@ -26,6 +26,7 @@
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"
#include "llvm/TableGen/TableGenBackend.h"
+#include <set>
#include <utility>
using namespace llvm;
diff --git a/llvm/utils/TableGen/X86FoldTablesEmitter.cpp b/llvm/utils/TableGen/X86FoldTablesEmitter.cpp
index 86e8de89bc7e539..507718328f9d750 100644
--- a/llvm/utils/TableGen/X86FoldTablesEmitter.cpp
+++ b/llvm/utils/TableGen/X86FoldTablesEmitter.cpp
@@ -19,6 +19,7 @@
#include "llvm/Support/X86FoldTablesUtils.h"
#include "llvm/TableGen/Record.h"
#include "llvm/TableGen/TableGenBackend.h"
+#include <set>
using namespace llvm;
using namespace X86Disassembler;
More information about the llvm-commits
mailing list