clang_createTranslationUnitFromSourceFile() and C++ source code

I am trying to determine data types in C++ source code with help of libclang. My program is