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. From-SVN: r191828
Showing
Please
register
or
sign in
to comment