[cfe-dev] Adding to AST
Nadeem Ahmad
nahmad.unsw at gmail.com
Mon Sep 27 11:03:36 PDT 2010
Dear all:
I am new to the clang. I am trying to parse the following expression:
int foo() unsw { }
I am able to catch the variable "unsw" in the parse::ParseDeclGroup(). After
consuming the token "unsw" using ConsumeToken(), I need to add it in the
AST. My understanding is that I have to add some action in the Sema, most
probably in the SemaDecl.cpp. Am I in the right direction? Any hint for me
to put me in the right direction.
Thanks
Agha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100927/9a2d6f37/attachment.html>
More information about the cfe-dev
mailing list