[cfe-dev] unknown type name 'ObjCClassDecl'

Dmitri Gribenko gribozavr at gmail.com
Wed Jun 19 22:15:11 PDT 2013


On Wed, Jun 19, 2013 at 1:32 AM, lostknight <thanhtuan at aces.snu.ac.kr> wrote:
> Hi, thank for replying. I got it now.
>
> May I have another question? Where do I get documentation about the AST
> structure of produced from clang? The reason why I ask this because I don't
> find the information in "clang internal" section in the homepage of clang is
> enough to fully understand about the AST structure. For example, when using
> the clang::RecursiveASTVisitor to traverse the tree, I don't know which
> function (VisitSomething) I have to rewrite to print out the node's
> information.

The talk "The Clang AST - a tutorial" by Manuel Klimek might be
interesting for you.  You can find it here:
http://llvm.org/devmtg/2013-04/

Dmitri

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-dev mailing list