about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2023-08-08 07:12:15 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2023-08-08 10:48:20 +0000
commitbcf7bfc9f4b6fb01cf36d7a3834cbd60a70f660a (patch)
tree696ada6d4706fe6111cad372f278653521f8d864 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent8e7fd551311d424e4e63fa45906a2a928fce96a7 (diff)
downloadrust-bcf7bfc9f4b6fb01cf36d7a3834cbd60a70f660a.tar.gz
rust-bcf7bfc9f4b6fb01cf36d7a3834cbd60a70f660a.zip
remove llvm-wrapper include to silence deprecation warning
Includes of `include/llvm/Support/Host.h` now emit a deprecated warning:
`warning: This header is deprecated, please use llvm/TargetParser/Host.h`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
index 48b5fd6e283..69580c0f76e 100644
--- a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -25,7 +25,6 @@
 #if LLVM_VERSION_GE(17, 0)
 #include "llvm/Support/VirtualFileSystem.h"
 #endif
-#include "llvm/Support/Host.h"
 #include "llvm/Target/TargetMachine.h"
 #include "llvm/Transforms/IPO/AlwaysInliner.h"
 #include "llvm/Transforms/IPO/FunctionImport.h"