diff options
| author | Jay Foad <jay.foad@gmail.com> | 2012-04-26 07:37:08 +0000 |
|---|---|---|
| committer | Jay Foad <jay.foad@gmail.com> | 2012-04-26 07:37:08 +0000 |
| commit | 4d5e6cf9063475df7e7427b0beed0a2262ceb273 (patch) | |
| tree | de0c9d9ff53d1664b12301f45900c837a3136f3b | |
| parent | 5f365e94c3a55431134f5019163455dddc209fd0 (diff) | |
| download | bcm5719-llvm-4d5e6cf9063475df7e7427b0beed0a2262ceb273.tar.gz bcm5719-llvm-4d5e6cf9063475df7e7427b0beed0a2262ceb273.zip | |
Fix errors when building with GCC 4.6.1 -std=c++0x, which requires
"friend class Foo;" instead of just friend Foo;".
llvm-svn: 155625
| -rw-r--r-- | lld/lib/Platforms/Darwin/ExecutableWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/Platforms/Darwin/ExecutableWriter.cpp b/lld/lib/Platforms/Darwin/ExecutableWriter.cpp index 4245e9b0803..23d1297ffa5 100644 --- a/lld/lib/Platforms/Darwin/ExecutableWriter.cpp +++ b/lld/lib/Platforms/Darwin/ExecutableWriter.cpp @@ -335,8 +335,8 @@ public: const std::vector<Chunk*> chunks() { return _chunks; } private: - friend LoadCommandsChunk; - friend LazyBindingInfoChunk; + friend class LoadCommandsChunk; + friend class LazyBindingInfoChunk; void createChunks(const lld::File &file); void buildAtomToAddressMap(); |

