[cfe-dev] HOWTO: use a CXCursor referring a Typedef

Stefan Seefeld stefan at codesourcery.com
Fri Jan 21 13:06:45 PST 2011

I'm trying to access the newly defined type (CXType), as well as the 
aliased type, starting from a CXCursor of kind CXCursor_TypedefDecl.

Calling clang_getCursorType() on that cursor yields a type of kind 
"Invalid". Is that a bug or am I using the wrong function ?


Stefan Seefeld
stefan at codesourcery.com
(650) 331-3385 x718

More information about the cfe-dev mailing list