Skip to content

Commit

Permalink
Rollup merge of #108891 - kazutakahirata:master, r=cuviper
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthiaskrgr authored Mar 10, 2023
2 parents 342ca46 + 057d6ed commit 4b784e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include "llvm/IR/LLVMContext.h"
#include "llvm/Object/ObjectFile.h"
#include "llvm/ADT/Optional.h"

using namespace llvm;
using namespace llvm::sys;
Expand Down

0 comments on commit 4b784e4

Please sign in to comment.