summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2017-10-10 01:24:33 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2017-10-10 01:24:33 +0000
commitcc7171abbf2772df7817b70ec975a201aad2de05 (patch)
tree0082c77efdd19046795b4bf03bd02c826e950ced /llvm/lib
parent1301a878f133e95e0a70264d17182ffe62cecca3 (diff)
downloadbcm5719-llvm-cc7171abbf2772df7817b70ec975a201aad2de05.tar.gz
bcm5719-llvm-cc7171abbf2772df7817b70ec975a201aad2de05.zip
[Sema][ObjC] Preserve syntactic sugar when removing
ARCReclaimReturnedObject cast. This is a follow-up to r314370. Rather than throwing away the enclosing parentheses, this commit walks down the expression until an ARCReclaimReturnedObject cast is found and removes just the cast, preserving the syntactic sugar expressions (parens and casts) that were visited up to that point. rdar://problem/34705720 Differential Revision: https://reviews.llvm.org/D38659 llvm-svn: 315261
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud