Prospective GCC build fix: the unelaborated form of this friend
authorJohn McCall <rjmccall@apple.com>
Wed, 30 Nov 2016 04:18:19 +0000 (04:18 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 30 Nov 2016 04:18:19 +0000 (04:18 +0000)
declaration should find the right type, assuming it's supported
evenly across all our hosts.

llvm-svn: 288231

clang/lib/CodeGen/CGObjCMac.cpp

index ae7319d..338fdee 100644 (file)
@@ -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;