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 | 472cf88ef23bb145d48cb88de7dadafc036068fa (patch) | |
tree | 73efe58cffb24cba64999639c82d9cef283ed33c | |
parent | bf27dc96592592233a4a18c9c0233193f32eab70 (diff) | |
download | bcm5719-llvm-472cf88ef23bb145d48cb88de7dadafc036068fa.tar.gz bcm5719-llvm-472cf88ef23bb145d48cb88de7dadafc036068fa.zip |
Remove bogus cast (<rdar://problem/5874848> clang objc-rewriter: structure with list of protocols has wrong cast).
llvm-svn: 49935
-rw-r--r-- | clang/Driver/RewriteObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/RewriteObjC.cpp b/clang/Driver/RewriteObjC.cpp index c78e5196301..8cf98a16436 100644 --- a/clang/Driver/RewriteObjC.cpp +++ b/clang/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"; } |