diff options
| author | Ted Kremenek <kremenek@apple.com> | 2009-08-19 23:56:48 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2009-08-19 23:56:48 +0000 |
| commit | eebcf574dd0ad79faee3a0a67528947db29cfdcb (patch) | |
| tree | 5ff57b8b75240fc853e63995448a961180a00c5d /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | aec3830ce783f237298ae90781e5a56be1539edc (diff) | |
Enhance diagnostics concerning attribute 'ns_returns_retained' and 'cf_returns_retained' to present the range of the attribute and have the diagnostic location be the declaration that the attribute was falsely attached to. This solves the problem where these diagnostics were being suppressed when these attributes were wrapped in a macro that was defined in a system header.
llvm-svn: 79496
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
