Register declarations as well
Will be overriden by definitions.
This commit is contained in:
parent
db0e649bf6
commit
cb9ad57e87
21 changed files with 98 additions and 43 deletions
|
|
@ -34,8 +34,9 @@ namespace
|
|||
void detail::print_cursor_info(const CXCursor& cur) noexcept
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(mtx);
|
||||
std::printf("[debug] cursor '%s' (%s)\n", get_display_name(cur).c_str(),
|
||||
cxstring(clang_getCursorKindSpelling(cur.kind)).c_str());
|
||||
std::printf("[debug] cursor '%s' (%s): %s\n", get_display_name(cur).c_str(),
|
||||
cxstring(clang_getCursorKindSpelling(cur.kind)).c_str(),
|
||||
cxstring(clang_getCursorUSR(cur)).c_str());
|
||||
}
|
||||
|
||||
void detail::print_tokens(const CXTranslationUnit& tu, const CXFile& file,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue