Add diagnostic on ignored cursor type

This commit is contained in:
Jonathan Müller 2017-02-22 20:49:20 +01:00
commit a38641ecb1
4 changed files with 17 additions and 1 deletions

View file

@ -16,6 +16,11 @@ detail::cxstring detail::get_display_name(const CXCursor& cur) noexcept
return cxstring(clang_getCursorDisplayName(cur));
}
detail::cxstring detail::get_cursor_kind_spelling(const CXCursor& cur) noexcept
{
return cxstring(clang_getCursorKindSpelling(clang_getCursorKind(cur)));
}
namespace
{
std::mutex mtx;