diff --git a/llvm/include/llvm/Demangle/ItaniumDemangle.h b/llvm/include/llvm/Demangle/ItaniumDemangle.h index d74f83e0c31d..82233abba0c4 100644 --- a/llvm/include/llvm/Demangle/ItaniumDemangle.h +++ b/llvm/include/llvm/Demangle/ItaniumDemangle.h @@ -1284,10 +1284,11 @@ public: void printLeft(OutputStream &S) const override { switch (SSK) { case SpecialSubKind::allocator: - S += "std::basic_string, " - "std::allocator >"; + S += "std::allocator"; break; case SpecialSubKind::basic_string: + S += "std::basic_string"; + break; case SpecialSubKind::string: S += "std::basic_string, " "std::allocator >";