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

Stefan Seefeld seefeld at sympatico.ca
Fri Jan 21 13:06:59 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 ?



       ...ich hab' noch einen Koffer in Berlin...

More information about the cfe-dev mailing list