]> granicus.if.org Git - clang/commit
[objcmt] When in ARC mode, also convert "[[.. alloc] init]" messages to literals,
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 6 Jun 2012 22:23:12 +0000 (22:23 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 6 Jun 2012 22:23:12 +0000 (22:23 +0000)
commit6b4db9b329c6964955153292e21de0a342354437
treebbd4f142914f48398324f6b9f807ca611fc7a749
parentf38d9322dfe75df1820558e4d6c76f3b65cdc6dd
[objcmt] When in ARC mode, also convert "[[.. alloc] init]" messages to literals,
since the change from +1 to +0 will be handled fine by ARC.

rdar://11606358

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158114 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Edit/RewriteObjCFoundationAPI.cpp
test/ARCMT/objcmt-subscripting-literals-in-arc.m [new file with mode: 0644]
test/ARCMT/objcmt-subscripting-literals-in-arc.m.result [new file with mode: 0644]