From c4ae1dd19372afcd0ccafafcf11991aceac59f35 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. llvm-svn: 288231 --- clang/lib/CodeGen/CGObjCMac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index ae7319d1bfe3..338fdee3e348 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;