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 | 5e244eeac32619f73bb961d5688ac5d202329fbd (patch) | |
| tree | c1a0660f0770538e11ae71a50288f468a11739ce /lib/CodeGen/CGExprAgg.cpp | |
| parent | 082a4b9bda9e808b56dc99b53de69d5e875672b6 (diff) | |
| download | clang-5e244eeac32619f73bb961d5688ac5d202329fbd.tar.gz clang-5e244eeac32619f73bb961d5688ac5d202329fbd.tar.bz2 clang-5e244eeac32619f73bb961d5688ac5d202329fbd.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
