Thrift-1340: Add support of ARC to Objective-C
authorJake Farrell <jfarrell@apache.org>
Tue, 6 Dec 2011 01:07:17 +0000 (01:07 +0000)
committerJake Farrell <jfarrell@apache.org>
Tue, 6 Dec 2011 01:07:17 +0000 (01:07 +0000)
commit9689d89df17d0876e4928fa80407225cfd46bb23
tree253c6d26fcab81cc3a79f61034fd057faa54bb73
parent6fa2b30940188fef9f1eaba539dedfa4ddc0946f
Thrift-1340: Add support of ARC to Objective-C
Client: Objective-c
Patch: Hirano Satoshi

Adds -objc-arc flag to compiler and if used removes the retain/release/autorelease from generated code

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1210732 13f79535-47bb-0310-9956-ffa450edef68
15 files changed:
compiler/cpp/src/generate/t_cocoa_generator.cc
lib/cocoa/src/TApplicationException.m
lib/cocoa/src/TException.m
lib/cocoa/src/TObjective-C.h [new file with mode: 0644]
lib/cocoa/src/TSharedProcessorFactory.m
lib/cocoa/src/protocol/TBinaryProtocol.m
lib/cocoa/src/server/TSocketServer.m
lib/cocoa/src/transport/THTTPClient.m
lib/cocoa/src/transport/TMemoryBuffer.m
lib/cocoa/src/transport/TNSFileHandleTransport.m
lib/cocoa/src/transport/TNSStreamTransport.m
lib/cocoa/src/transport/TSocketClient.h
lib/cocoa/src/transport/TSocketClient.m
lib/cocoa/src/transport/TTransportException.m
test/ThriftTest.thrift