[cfe-dev] asking about existense of validating generating AST from libclang
kshah215 at gmail.com
Tue May 12 09:02:30 PDT 2015
I am using python libclang to parse cpp codes. But I came across that llvm
creates AST(Abstract Syntax Tree) partially/ full depending upon source
code is parsable or not. Going through documentation, I found that
there is *diagnostic
*property for every translation unit.
It's Users' sole responsibility to validate this generated AST using
I think this is the general function to validate if the generated AST is
valid or not. If someone have written, can you share or throw some light?
The main reason behind posting is that there is no proper documentation
about *diagnostic .* I found it very hard to use category_number , severity
without any documentation.
Awaiting for reply!
*Aspiring Minds Assessment Pvt Ltd.*
*Blog : http://magnificientzps.blogspot.in/
*E-Mail : kshah215 at gmail.com <kshah215 at gmail.com> *
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev