From 1f955bd645a022ae16543b4dc05e50981d918f33 Mon Sep 17 00:00:00 2001 From: John McCall Date: Wed, 30 Nov 2016 04:18:19 +0000 Subject: [PATCH] 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 --- lib/CodeGen/CGObjCMac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.50.1