diff --git a/src/cursor.cc b/src/cursor.cc index 62f5189..b8976ad 100644 --- a/src/cursor.cc +++ b/src/cursor.cc @@ -1,6 +1,5 @@ #include "cursor.h" #include "utility.h" -#include std::string clangmm::Cursor::Type::get_spelling() const { return to_string(clang_getTypeSpelling(cx_type)); @@ -224,7 +223,7 @@ std::string clangmm::Cursor::get_type_description() const { auto referenced = clang_getCursorReferenced(cx_cursor); if(!clang_Cursor_isNull(referenced)) { auto type = clang_getCursorType(referenced); - if(type.kind != CXTypeKind::CXType_Invalid && type.kind != CXTypeKind::CXType_Unexposed) + if(type.kind != CXTypeKind::CXType_Invalid) return to_string(clang_getTypeSpelling(type)); }