commit | d067c07c6cbf099b25aba38bcb66f38e79d0c420 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Wed Feb 23 18:51:59 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Wed Feb 23 18:51:59 2011 +0000 |
tree | f1335f61d0db3ee2ab6e5251a96853ad8574eaa1 | |
parent | 87fb9404cd962b78c98947d75d68be1691c4e737 [diff] |
Fix the behavior of -Wignored-qualifiers on return type qualifiers in several ways. We now warn for more of the return types, and correctly locate the ignored ones. Also adds fix-it hints to remove the ignored qualifiers. Fixes much of PR9058, although not all of it. Patch by Hans Wennborg, a couple of minor style tweaks from me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126321 91177308-0d34-0410-b5e6-96231b3b80d8