| commit | 2ceb5aba64e587f8ce66bec3c9af1f2cf60effa0 | [log] [tgz] |
|---|---|---|
| author | Nathan Sidwell <nathan@acm.org> | Mon Jan 27 05:49:43 2020 -0800 |
| committer | Nathan Sidwell <nathan@acm.org> | Mon Jan 27 07:41:26 2020 -0800 |
| tree | a68580c426e2efdce3fe6d739bb475afede932d5 | |
| parent | a708cb25d9284e9234b6457f8260bfc79f09043e [diff] |
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.