CxxRecordDecl Bug?

Hello, everyone. I'm using a simple RecursiveASTVisitor and try to visit
clang::CxxRecordDecl, calling the VisitCxxRecordDecl(...). But then i trying
to access any member (or method) of clang::CxxRecordDecl class i get an
exception(assert): Expression: DefinitionData && "queried property of class
with no definition"? Why i get this? Other nodes in AST work good.

Ohh, thanks, i'm solve this problem :). The main thing is that clang put in
AST special type "type_info", that have DefinitionData == NULL. Simple check
solve this problem.