Skip to content

Commit fc2cb76

Browse files
authored
Rollup merge of #108891 - kazutakahirata:master, r=cuviper
Remove an extraneous include SymbolWrapper.cpp doesn't use std::optional or llvm::Optional, so this patch removes the extraneous include. Note that llvm/ADT/Optional.h has been deprecated upstream. This patch ensures that SymbolWrapper.cpp continues to compile even after the upcoming removal of Optional.h.
2 parents cd85500 + 057d6ed commit fc2cb76

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include "llvm/IR/LLVMContext.h"
1111
#include "llvm/Object/ObjectFile.h"
12-
#include "llvm/ADT/Optional.h"
1312

1413
using namespace llvm;
1514
using namespace llvm::sys;

0 commit comments

Comments
 (0)