diff options
Diffstat (limited to 'minicc.cpp')
-rw-r--r-- | minicc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -60,3 +60,8 @@ std::string Token::toString() const return location.toString() + ": "s + value + " ("s + type + ")"s; } +std::string demangle(const std::type_info& type) +{ + return boost::core::demangle(type.name()); +} + |