diff options
author | Ted Kremenek <kremenek@apple.com> | 2014-01-09 20:19:45 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2014-01-09 20:19:45 +0000 |
commit | ce0e3f8a0920b72703b13a032a1809fae65423ee (patch) | |
tree | 70d1e79a6e2a667ac37b29019b77bda4b5483e3f /clang/lib/CodeGen/CGObjCGNU.cpp | |
parent | 7c1fcf8b2cabd683beac967cbedc187d19c23487 (diff) | |
download | bcm5719-llvm-ce0e3f8a0920b72703b13a032a1809fae65423ee.tar.gz bcm5719-llvm-ce0e3f8a0920b72703b13a032a1809fae65423ee.zip |
Have attribute 'objc_precise_lifetime' suppress -Wunused.
Fixes <rdar://problem/15596883>
In ARC, __attribute__((objc_precise_lifetime)) guarantees that the
object stored in it will survive to the end of the variable's formal
lifetime. It is therefore useful even if it completely unused.
llvm-svn: 198888
Diffstat (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp')
0 files changed, 0 insertions, 0 deletions