Skip to content
Commit eebcf574 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Enhance diagnostics concerning attribute 'ns_returns_retained' and...

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
parent aec3830c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment