Refactored class visitor to cpp api
This commit is contained in:
@@ -142,6 +142,11 @@ public:
|
||||
return clang_getCursorAvailability(m_cursor);
|
||||
}
|
||||
|
||||
CX_CXXAccessSpecifier cxxaccess_specifier() const
|
||||
{
|
||||
return clang_getCXXAccessSpecifier(m_cursor);
|
||||
}
|
||||
|
||||
std::string usr() const { return to_string(clang_getCursorUSR(m_cursor)); }
|
||||
|
||||
const CXCursor &get() const { return m_cursor; }
|
||||
|
||||
@@ -91,6 +91,8 @@ public:
|
||||
*}
|
||||
*/
|
||||
|
||||
CXTypeKind kind() const { return m_type.kind; }
|
||||
|
||||
CXCallingConv calling_convention() const
|
||||
{
|
||||
return clang_getFunctionTypeCallingConv(m_type);
|
||||
|
||||
Reference in New Issue
Block a user