This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Fix friend class name lookup part 2/n (PR14513, 15410)


Nathan Sidwell wrote:

whilst using current_decl_namespace seems plausable, why don't we push to
the namespace of N::C when processing its definition? Am I just confused?
I think there's a lot of places where current_namespace is presumed to be
the namespace of whatever function or class is being defined.


This makes sense. I'll revise the patch.

--Kriang



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]