[cfe-dev] clang::CXXRecordDecl::data __assert_fail. Clang problem, or bug in my VisitCXXRecordDecl() implementation?

Yang Chen chenyang at cs.utah.edu
Mon Dec 10 16:20:31 PST 2012


Peeter Joot wrote:
> Thanks Yang,
>
> How would I determine if this CXXRecordDecl is a definition or not?

You can use isThisDeclarationADefinition member function.

- Yang

>
> Peeter
>
>
>     If I am correct, you can iterate over the base classes only if
>     this CXXRecordDecl is a definition.
>




More information about the cfe-dev mailing list