3.4.6 [basic.lookup.udir] paragraph 1:
In a using-directive or namespace-alias-definition, during the lookup for a namespace-name or for a name in a nested-name-specifier, only namespace names are considered.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 4712 Build 4712: arc lint + arc unit
Event Timeline
Comment Actions
Functionally, this looks good. How do the diagnostics look in the case where lookup only finds a non-namespace name? Eg,
struct A { struct B {}; }; namespace X = A::B;
This should say "dr373: 5" to indicate the first version of Clang with the fix.