Added template insantiation relation

This commit is contained in:
Bartek Kryza
2021-03-10 00:03:03 +01:00
parent e07392dae6
commit 9cb21ab7a2
10 changed files with 267 additions and 16 deletions

View File

@@ -19,6 +19,9 @@
#include "cx/type.h"
#include <list>
#include <string>
namespace clanguml {
namespace cx {
@@ -214,6 +217,11 @@ public:
return clang_Cursor_getTemplateArgumentValue(m_cursor, i);
}
cursor specialized_cursor_template() const
{
return clang_getSpecializedCursorTemplate(m_cursor);
}
std::string usr() const { return to_string(clang_getCursorUSR(m_cursor)); }
const CXCursor &get() const { return m_cursor; }