diff --git a/src/cx/util.cc b/src/cx/util.cc index c589f0e7..08c99d28 100644 --- a/src/cx/util.cc +++ b/src/cx/util.cc @@ -181,6 +181,9 @@ std::string ns(const cppast::cpp_type &t, const cppast::cpp_entity_index &idx) return fmt::format( "{}", fmt::join(ns_toks.begin(), ns_toks.end(), "::")); } + else if (canon.find("type-parameter-") == 0) { + return ""; + } else { // This is a bug/feature in libclang, where canonical representation // of a template type with incomplete specialization doesn't have a