Refactor to_string from CXCursor to clanguml::cx::util namespace

This commit is contained in:
Bartek Kryza
2021-03-04 21:14:13 +01:00
parent cbbf4225d6
commit 59ea5758cf
4 changed files with 91 additions and 11 deletions

View File

@@ -140,6 +140,9 @@ cx::type get_underlying_type(cx::type t)
if (name.find("std::map") == 0) {
return get_underlying_type(template_arguments[1]);
}
if (name.find("std::pair") == 0) {
return get_underlying_type(template_arguments[1]);
}
return t;
}