summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLToken.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-06-17 06:42:21 +0000
committerJohn McCall <rjmccall@apple.com>2011-06-17 06:42:21 +0000
commitd463132f2727d75d9dce681591e1b9dcd7850563 (patch)
treec3cd2a7b0c2e859be44aada36c6747ae3e4f9668 /llvm/lib/AsmParser/LLToken.h
parentdef1949c004610bced78e9468cb4682fcda8efe0 (diff)
downloadbcm5719-llvm-d463132f2727d75d9dce681591e1b9dcd7850563.tar.gz
bcm5719-llvm-d463132f2727d75d9dce681591e1b9dcd7850563.zip
Objective-C fast enumeration loop variables are not retained in ARC, but
they should still be officially __strong for the purposes of errors, block capture, etc. Make a new bit on variables, isARCPseudoStrong(), and set this for 'self' and these enumeration-loop variables. Change the code that was looking for the old patterns to look for this bit, and change IR generation to find this bit and treat the resulting variable as __unsafe_unretained for the purposes of init/destroy in the two places it can come up. llvm-svn: 133243
Diffstat (limited to 'llvm/lib/AsmParser/LLToken.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud