[llvm-objcopy] [COFF] Fix the Object forward declaration

This fixes build warnings with clang, and linker errors with MSVC.

llvm-svn: 349606
This commit is contained in:
Martin Storsjo
2018-12-19 07:45:06 +00:00
parent e84a0b5a9e
commit 2a632b6472
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ namespace llvm {
namespace objcopy {
namespace coff {
class Object;
struct Object;
using object::COFFObjectFile;

View File

@@ -19,7 +19,7 @@ namespace llvm {
namespace objcopy {
namespace coff {
class Object;
struct Object;
class Writer {
protected: