Page MenuHomePhabricator

Correctly handle using foo = std::foo inside namespaces.

Authored by saugustine on Mar 25 2020, 6:12 PM.



The gdb pretty printer misprints variables declared via
using declarations of the form:

namespace foo {
using string_view = std::string_view;

string_view bar;

This change fixes that, by deferring the decision to ignore
types not inside std until after desugaring.

Diff Detail

Event Timeline

saugustine created this revision.Mar 25 2020, 6:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2020, 6:12 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Mar 26 2020, 6:01 AM
This revision is now accepted and ready to land.Mar 26 2020, 6:01 AM
This revision was automatically updated to reflect the committed changes.