Skip to content

Commit 54a9c2c

Browse files
authored
Rollup merge of #114612 - lqd:east-17-warning, r=nikic
update 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`. I don't believe we are using this include. I don't believe we need to bump the `download-ci-llvm` stamp since these warnings are emitted while building the `llvm-wrapper`. r? ```@nikic```
2 parents c097e48 + bcf7bfc commit 54a9c2c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

compiler/rustc_llvm/llvm-wrapper/LLVMWrapper.h

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "llvm/Support/DynamicLibrary.h"
1616
#include "llvm/Support/FormattedStream.h"
1717
#include "llvm/Support/JSON.h"
18-
#include "llvm/Support/Host.h"
1918
#include "llvm/Support/Memory.h"
2019
#include "llvm/Support/SourceMgr.h"
2120
#include "llvm/Support/TargetSelect.h"

compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
#if LLVM_VERSION_GE(17, 0)
2626
#include "llvm/Support/VirtualFileSystem.h"
2727
#endif
28-
#include "llvm/Support/Host.h"
2928
#include "llvm/Target/TargetMachine.h"
3029
#include "llvm/Transforms/IPO/AlwaysInliner.h"
3130
#include "llvm/Transforms/IPO/FunctionImport.h"

0 commit comments

Comments
 (0)