[cfe-dev] C++ namespaces patch (2)

Argiris Kirtzidis akyrtzi at gmail.com
Sat Mar 29 09:10:25 PDT 2008


This patch is a bit different approach from the previous one.
There's a 'NamespaceScope' Scope type which is not transiently live, I 
mean the parser doesn't delete it when
the scope is exited, but it keeps it and re-enters it when there's an 
extended namespace definition, like

namespace A { int x; }
namespace A { int y; } // extended

I also removed the Scope references from the AST decls.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: namespaces2.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080329/aba50c59/attachment.ksh>

More information about the cfe-dev mailing list