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
This commit is contained in:
John McCall 2016-11-30 04:18:19 +00:00
parent 2fae56fce4
commit c4ae1dd193
1 changed files with 2 additions and 2 deletions

View File

@ -1166,7 +1166,7 @@ public:
class CGObjCMac : public CGObjCCommonMac { class CGObjCMac : public CGObjCCommonMac {
private: private:
friend class ProtocolMethodLists; friend ProtocolMethodLists;
ObjCTypesHelper ObjCTypes; ObjCTypesHelper ObjCTypes;
@ -1356,7 +1356,7 @@ public:
class CGObjCNonFragileABIMac : public CGObjCCommonMac { class CGObjCNonFragileABIMac : public CGObjCCommonMac {
private: private:
friend class ProtocolMethodLists; friend ProtocolMethodLists;
ObjCNonFragileABITypesHelper ObjCTypes; ObjCNonFragileABITypesHelper ObjCTypes;
llvm::GlobalVariable* ObjCEmptyCacheVar; llvm::GlobalVariable* ObjCEmptyCacheVar;
llvm::Constant* ObjCEmptyVtableVar; llvm::Constant* ObjCEmptyVtableVar;