Files
clang-p2996/lld/lib/ReaderWriter/PECOFF/ReaderImportHeader.h
Rafael Espindola 7b8b9ae1cb Use std::error_code instead of llvm::error_code.
This is an update for a llvm api change.

llvm-svn: 210689
2014-06-11 19:05:58 +00:00

33 lines
822 B
C++

//===- lib/ReaderWriter/PECOFF/ReaderImportHeader.h -----------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLD_READER_WRITER_PE_COFF_READER_IMPORT_HEADER_H
#define LLD_READER_WRITER_PE_COFF_READER_IMPORT_HEADER_H
#include <memory>
#include <vector>
namespace llvm {
class MemoryBuffer;
}
namespace lld {
class LinkingContext;
class File;
namespace pecoff {
error_code parseCOFFImportLibrary(const LinkingContext &context,
std::unique_ptr<MemoryBuffer> &mb,
std::vector<std::unique_ptr<File> > &result);
}
}
#endif