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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f955bd645a022ae16543b4dc05e50981d918f33;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288231 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index ae7319d1bf..338fdee3e3 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/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;