diff options
author | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-28 12:21:33 +0000 |
---|---|---|
committer | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-28 12:21:33 +0000 |
commit | e3b5825b898ac1e299c2d42bb335e3528d368de7 (patch) | |
tree | 40e84a8147b996e9dd05c89c447b2b45ebe33990 /Makefile.in | |
parent | 3a62331655d7a4de63d4fede4737872ff9e76b4f (diff) | |
download | ppe42-gcc-e3b5825b898ac1e299c2d42bb335e3528d368de7.tar.gz ppe42-gcc-e3b5825b898ac1e299c2d42bb335e3528d368de7.zip |
PR c++/53551 - -Wunused-local-typedefs misses uses
We don't record the use of a typedef when it's used through a
typename. Fixed thus.
Tested on x86_64-unknown-linux-gnu against trunk.
gcc/cp/
* decl.c (make_typename_type): Record the use of typedefs.
gcc/testsuite/
* g++.dg/warn/Wunused-local-typedefs-2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191828 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
0 files changed, 0 insertions, 0 deletions