diff options
author | Steve Naroff <snaroff@apple.com> | 2008-04-18 22:15:15 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-04-18 22:15:15 +0000 |
commit | fa8ec62bf062eecb78b8ba68c1c1baa40e58014c (patch) | |
tree | 76e0f951f67e898adfd9d2aa53380558a5801a2f /Driver/RewriteObjC.cpp | |
parent | 27fd5863b95854ad5579fddd048053642175b3b9 (diff) |
Remove bogus cast (<rdar://problem/5874848> clang objc-rewriter: structure with list of protocols has wrong cast).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/RewriteObjC.cpp')
-rw-r--r-- | Driver/RewriteObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/RewriteObjC.cpp b/Driver/RewriteObjC.cpp index c78e519630..8cf98a1643 100644 --- a/Driver/RewriteObjC.cpp +++ b/Driver/RewriteObjC.cpp @@ -2539,7 +2539,7 @@ void RewriteObjC::RewriteObjCProtocolsMetaData(ObjCProtocolDecl **Protocols, for (int i = 1; i < NumProtocols; i++) { ObjCProtocolDecl *PDecl = Protocols[i]; - Result += "\t ,(struct _objc_protocol_list*)&_OBJC_PROTOCOL_"; + Result += "\t ,&_OBJC_PROTOCOL_"; Result += PDecl->getName(); Result += "\n"; } |