[cfe-dev] [patch] small patch to parse "using" declaration

Sebastian Redl sebastian.redl at getdesigned.at
Fri May 29 09:46:57 PDT 2009


Paweł Hajdan jr wrote:
> Hi. I was reading a lot about LLVM, and recently encountered clang.
> I'm very excited about the idea of library-based compiler design and
> possibilities it enables.
>
> I compiled clang from svn and played around a bit. I was looking for a
> small task to contribute, and it seems that parsing the using
> declaration is relatively easy (I'm generally interested in C++
> support, static analysis, and contributing).
>
> I'm attaching a simple patch which allows a snippet like
>
> namespace test {
> class A {};
> }
>
> using test::A;
>
> to pass -fsyntax-only. Passes make test.
>   
Hi Pawel,

Great to have you here.

Now, someone already did a lot of work on using declarations. I wonder
what happened to that work.

Sebastian



More information about the cfe-dev mailing list