Skip to content

Commit 057d6ed

Browse files
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.
1 parent 38b9655 commit 057d6ed

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)