ASTVisitor: Lifetime of CXXRecordDecl

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

ASTVisitor: Lifetime of CXXRecordDecl

shirley breuer via cfe-dev

first of all Happy New Year to everyone!

I have a strange SEGV in my tool.

I store inside a


the Declaration in a std::vector for later processing.

After traversing the AST the Declaration pointer in the vector seems to
be invalid.

Any idea?


cfe-dev mailing list
[hidden email]