clang_codeCompleteAt returns CXCursor_FieldDecl for both struct and union members

Hello folks,

I've noticed that the completion results that clang_codeCompleteAt provides,
return CXCursor_FieldDecl for both struct members and union members. I would
like to be able to differentiate between the two in my application. Is there
a way to get around this, and retrieve the actual type or a CXCursor of the
symbol?

Thank you very much!