aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorJoe Loser <joeloser@fastmail.com>2022-09-09 12:47:56 -0600
committerJoe Loser <joeloser@fastmail.com>2022-09-09 17:44:00 -0600
commit62b8a61d6c44cb3f2ac4c12d38eb3431b24f702b (patch)
tree95c5c573858218c13999fff63857322d8b207ccc /llvm/lib/Support/Triple.cpp
parentf4a13c9c0a049d40e0365477c58c2a5369eda6dc (diff)
downloadllvm-62b8a61d6c44cb3f2ac4c12d38eb3431b24f702b.zip
llvm-62b8a61d6c44cb3f2ac4c12d38eb3431b24f702b.tar.gz
llvm-62b8a61d6c44cb3f2ac4c12d38eb3431b24f702b.tar.bz2
[llvm] Remove includes of `llvm/Support/STLArrayExtras.h`
`llvm` and downstream internal callers no longer use `array_lengthof`, so drop the include everywhere. Differential Revision: https://reviews.llvm.org/D133600
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r--llvm/lib/Support/Triple.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index faf372f..0524d67 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/lib/Support/Triple.cpp
@@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
#include "llvm/ADT/Triple.h"
-#include "llvm/ADT/STLArrayExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.h"
@@ -170,7 +169,7 @@ StringRef Triple::getArchTypePrefix(ArchType Kind) {
case loongarch32:
case loongarch64: return "loongarch";
-
+
case dxil: return "dx";
}
}