diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-02-23 18:51:59 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-02-23 18:51:59 +0000 |
| commit | d067c07c6cbf099b25aba38bcb66f38e79d0c420 (patch) | |
| tree | f1335f61d0db3ee2ab6e5251a96853ad8574eaa1 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 87fb9404cd962b78c98947d75d68be1691c4e737 (diff) | |
| download | clang-d067c07c6cbf099b25aba38bcb66f38e79d0c420.tar.gz clang-d067c07c6cbf099b25aba38bcb66f38e79d0c420.tar.bz2 clang-d067c07c6cbf099b25aba38bcb66f38e79d0c420.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
