[cfe-dev] Recursive Descent Parser

Nikola Smiljanic popizdeh at gmail.com
Wed Sep 24 14:31:35 PDT 2014


I don't think there is. Have a look at clang::ParseAST. it keeps track of
the callstack in case of crash. It also keeps track of some statistics but
I think that's all there is.

On Sun, Sep 21, 2014 at 9:55 AM, Raghavan <raghavan97 at yahoo.co.in> wrote:

>  Hi,
>
>
>
> I am a newbie to clang and LLVM.
>
>
>
> I realize that the clang uses Recursive descent parsing for compiling a c
> file.
>
>
>
> I was wondering, if there is any way to print the production rules or any
> kind of parser related details during the parsing of a C file by clang.
>
>
>
>
>
> Thanks.
>
>
>
> Bye,
>
> Raghavan V
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140925/0161e78e/attachment.html>


More information about the cfe-dev mailing list