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 [3.3.3] PR 13544


On 11 Jan 2004 01:39:29 +0100, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

>   (1) DECL_NAMESPACE_SCOPE_P does not actually test whether a decl has
>       a namespace scope -- because if teh DECL_CONTEXT is absent then
>       it defaults to the global_namespace;

Yes, it does.  It uses CP_DECL_CONTEXT, which returns global_namespace as
appropriate.

Jason


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