Added support for class friend declarations

This commit is contained in:
Bartek Kryza
2021-03-11 18:05:16 +01:00
parent 47dc82931f
commit 3bdac248ba
9 changed files with 153 additions and 5 deletions

View File

@@ -126,6 +126,8 @@ public:
return to_string(clang_getCursorKindSpelling(m_cursor.kind));
}
cursor definition() const { return clang_getCursorDefinition(m_cursor); }
bool is_definition() const { return clang_isCursorDefinition(m_cursor); }
bool is_declaration() const { return clang_isDeclaration(kind()); }