diff options
author | John McCall <rjmccall@apple.com> | 2016-11-30 04:18:19 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2016-11-30 04:18:19 +0000 |
commit | c4ae1dd19372afcd0ccafafcf11991aceac59f35 (patch) | |
tree | 9fbf494923c4e3c19f1dde2077be2acdf3ad9871 /clang/lib/CodeGen/CGObjCMac.cpp | |
parent | 2fae56fce48abcb0c80a31432697ec666beb5493 (diff) | |
download | bcm5719-llvm-c4ae1dd19372afcd0ccafafcf11991aceac59f35.tar.gz bcm5719-llvm-c4ae1dd19372afcd0ccafafcf11991aceac59f35.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CGObjCMac.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjCMac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index ae7319d1bfe..338fdee3e34 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; |