diff options
author | Nick Kledzik <kledzik@apple.com> | 2012-06-07 02:23:48 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2012-06-07 02:23:48 +0000 |
commit | 5fb2e4dabebbda722858307aa1197db571cad73f (patch) | |
tree | cdd06b0df0d3283163e2c4373291c70a831f2121 | |
parent | 98211f6d19a1dece0d4b3749466ac0ed22ae7132 (diff) | |
download | bcm5719-llvm-5fb2e4dabebbda722858307aa1197db571cad73f.tar.gz bcm5719-llvm-5fb2e4dabebbda722858307aa1197db571cad73f.zip |
put the public function createReaderPECOFF() in the lld namespace and everything else in is own namespace
llvm-svn: 158135
-rw-r--r-- | lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp b/lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp index 7c8bad655be..3349235ed51 100644 --- a/lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp +++ b/lld/lib/ReaderWriter/PECOFF/ReaderCOFF.cpp @@ -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); |