Skip to content

Commit 252bd80

Browse files
[TableGen] Remove unused includes (NFC) (#141356)
These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-specific build failures.
1 parent 64e8935 commit 252bd80

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "llvm/TableGen/Error.h"
2020
#include "llvm/TableGen/Record.h"
2121
#include "llvm/TableGen/TableGenBackend.h"
22-
#include <cstdint>
2322
#include <set>
2423
#include <string>
2524

llvm/utils/TableGen/Common/CodeGenTarget.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "llvm/Support/ErrorHandling.h"
2424
#include "llvm/TableGen/Error.h"
2525
#include "llvm/TableGen/Record.h"
26-
#include <algorithm>
2726
#include <iterator>
2827
#include <tuple>
2928
using namespace llvm;

llvm/utils/TableGen/DecoderEmitter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include "llvm/Support/CommandLine.h"
3333
#include "llvm/Support/Debug.h"
3434
#include "llvm/Support/ErrorHandling.h"
35-
#include "llvm/Support/FormatVariadic.h"
3635
#include "llvm/Support/FormattedStream.h"
3736
#include "llvm/Support/LEB128.h"
3837
#include "llvm/Support/MathExtras.h"

llvm/utils/TableGen/SearchableTableEmitter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include "llvm/TableGen/Error.h"
2323
#include "llvm/TableGen/Record.h"
2424
#include "llvm/TableGen/TableGenBackend.h"
25-
#include <algorithm>
2625
#include <set>
2726
#include <string>
2827
#include <vector>

llvm/utils/TableGen/SubtargetEmitter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include "llvm/ADT/StringExtras.h"
2222
#include "llvm/ADT/StringMap.h"
2323
#include "llvm/ADT/StringRef.h"
24-
#include "llvm/ADT/StringSwitch.h"
2524
#include "llvm/MC/MCInstrItineraries.h"
2625
#include "llvm/MC/MCSchedule.h"
2726
#include "llvm/Support/Debug.h"

0 commit comments

Comments
 (0)