On 2012-10-17 08:47, Jacob Carlborg wrote: > CXType type = clang_getCursorType(cursor); > > if (type == CXType_Pointer) > { > CXType pointerType = clang_getPointeeType(); > // ... > } Should of course be: CXType pointeeType = clang_getPointeeType(type); -- /Jacob Carlborg