]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288231 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCMac.cpp

index ae7319d1bfe327b8bd8f926212b44fcba3a79629..338fdee3e348fe4931fffa2625962c709dcb3cda 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;