Skip to content

Commit 2ca3b6f

Browse files
[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.
1 parent e8209b2 commit 2ca3b6f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

llvm/utils/TableGen/CallingConvEmitter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "llvm/TableGen/Record.h"
1717
#include "llvm/TableGen/TableGenBackend.h"
1818
#include <deque>
19+
#include <set>
1920

2021
using namespace llvm;
2122

llvm/utils/TableGen/FastISelEmitter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include "llvm/TableGen/Error.h"
2727
#include "llvm/TableGen/Record.h"
2828
#include "llvm/TableGen/TableGenBackend.h"
29+
#include <set>
2930
#include <utility>
3031
using namespace llvm;
3132

llvm/utils/TableGen/X86FoldTablesEmitter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "llvm/Support/X86FoldTablesUtils.h"
2020
#include "llvm/TableGen/Record.h"
2121
#include "llvm/TableGen/TableGenBackend.h"
22+
#include <set>
2223

2324
using namespace llvm;
2425
using namespace X86Disassembler;

0 commit comments

Comments
 (0)