From: John McCall Date: Wed, 30 Nov 2016 04:18:19 +0000 (+0000) Subject: Prospective GCC build fix: the unelaborated form of this friend X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4ae1dd19372afcd0ccafafcf11991aceac59f35;p=platform%2Fupstream%2Fllvm.git Prospective GCC build fix: the unelaborated form of this friend declaration should find the right type, assuming it's supported evenly across all our hosts. llvm-svn: 288231 --- diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index ae7319d..338fdee 100644 --- a/clang/lib/CodeGen/CGObjCMac.cpp +++ b/clang/lib/CodeGen/CGObjCMac.cpp @@ -1166,7 +1166,7 @@ public: class CGObjCMac : public CGObjCCommonMac { private: - friend class ProtocolMethodLists; + friend ProtocolMethodLists; ObjCTypesHelper ObjCTypes; @@ -1356,7 +1356,7 @@ public: class CGObjCNonFragileABIMac : public CGObjCCommonMac { private: - friend class ProtocolMethodLists; + friend ProtocolMethodLists; ObjCNonFragileABITypesHelper ObjCTypes; llvm::GlobalVariable* ObjCEmptyCacheVar; llvm::Constant* ObjCEmptyVtableVar;