https://llvm.org/bugs/show_bug.cgi?id=24264

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Richard Smith <[email protected]> ---
The reason that your second example is accepted is not [basic.scope.hiding]p1,
it's [basic.lookup.unqual]p1:

"In all the cases listed in 3.4.1, the scopes are searched for a declaration in
the order listed in each of the respective categories; name lookup ends as soon
as a declaration is found for the name."

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to