diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-01-27 05:49:43 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-01-27 06:33:35 -0800 |
commit | feaa1640b3543c7c3a1f3a788bc449a3638cb780 (patch) | |
tree | c800bf7a4aad4d9513a68f2d5ef086581580df19 /libgcc | |
parent | f261388f1a9f8ee4abfefff32bdfe6046914b7f2 (diff) | |
download | gcc-feaa1640b3543c7c3a1f3a788bc449a3638cb780.zip gcc-feaa1640b3543c7c3a1f3a788bc449a3638cb780.tar.gz gcc-feaa1640b3543c7c3a1f3a788bc449a3638cb780.tar.bz2 |
c++: Bogus error using namespace alias [PR91826]
My changes to is_nested_namespace broke is_ancestor's use where a namespace
alias might be passed in. This changes is_ancestor to look through the alias.
PR c++/91826
* name-lookup.c (is_ancestor): Allow CHILD to be a namespace alias.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions