From d07c5bc14edbe071ee7b4f47f174780e95e451aa Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 15 Nov 2020 13:55:18 +0100 Subject: Simplify Asm construction --- minicc.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'minicc.cpp') diff --git a/minicc.cpp b/minicc.cpp index 88cb6ab..2e9c215 100644 --- a/minicc.cpp +++ b/minicc.cpp @@ -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()); +} + -- cgit v1.2.3