put the public function createReaderPECOFF() in the lld namespace and everything else in is own namespace

llvm-svn: 158135
This commit is contained in:
Nick Kledzik 2012-06-07 02:23:48 +00:00
parent 98211f6d19
commit 5fb2e4dabe
1 changed files with 6 additions and 1 deletions

View File

@ -23,8 +23,9 @@
#include <vector>
using llvm::object::coff_symbol;
using namespace lld;
namespace lld {
namespace { // anonymous
class COFFAbsoluteAtom : public AbsoluteAtom {
public:
@ -376,6 +377,10 @@ private:
const ReaderOptionsPECOFF &_options;
};
} // namespace anonymous
namespace lld {
Reader* createReaderPECOFF(const ReaderOptionsPECOFF &options) {
return new ReaderCOFF(options);