[PATCH] D139556: [NFC][Object] Include header `BitcodeReader.h` instead of using forward declaration for BitcodeModule

Shilei Tian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 12:32:10 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7ec057ff4a06: [NFC][Object] Include header `BitcodeReader.h` instead of using forward… (authored by tianshilei1992).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139556/new/

https://reviews.llvm.org/D139556

Files:
  llvm/include/llvm/Object/IRObjectFile.h


Index: llvm/include/llvm/Object/IRObjectFile.h
===================================================================
--- llvm/include/llvm/Object/IRObjectFile.h
+++ llvm/include/llvm/Object/IRObjectFile.h
@@ -13,12 +13,12 @@
 #ifndef LLVM_OBJECT_IROBJECTFILE_H
 #define LLVM_OBJECT_IROBJECTFILE_H
 
+#include "llvm/Bitcode/BitcodeReader.h"
 #include "llvm/Object/IRSymtab.h"
 #include "llvm/Object/ModuleSymbolTable.h"
 #include "llvm/Object/SymbolicFile.h"
 
 namespace llvm {
-class BitcodeModule;
 class Module;
 
 namespace object {
@@ -82,6 +82,6 @@
 
 }
 
-}
+} // namespace llvm
 
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139556.481012.patch
Type: text/x-patch
Size: 594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221207/7272dca3/attachment.bin>


More information about the llvm-commits mailing list