[llvm] r340665 - Fix ExpandedSpecialSubstitution demangling for Sa and Sb.
Richard Smith via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 24 15:34:21 PDT 2018
Author: rsmith
Date: Fri Aug 24 15:34:20 2018
New Revision: 340665
URL: http://llvm.org/viewvc/llvm-project?rev=340665&view=rev
Log:
Fix ExpandedSpecialSubstitution demangling for Sa and Sb.
No functionality change: we never actually create these forms currently.
Modified:
llvm/trunk/include/llvm/Demangle/ItaniumDemangle.h
Modified: llvm/trunk/include/llvm/Demangle/ItaniumDemangle.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Demangle/ItaniumDemangle.h?rev=340665&r1=340664&r2=340665&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Demangle/ItaniumDemangle.h (original)
+++ llvm/trunk/include/llvm/Demangle/ItaniumDemangle.h Fri Aug 24 15:34:20 2018
@@ -1284,10 +1284,11 @@ public:
void printLeft(OutputStream &S) const override {
switch (SSK) {
case SpecialSubKind::allocator:
- S += "std::basic_string<char, std::char_traits<char>, "
- "std::allocator<char> >";
+ S += "std::allocator";
break;
case SpecialSubKind::basic_string:
+ S += "std::basic_string";
+ break;
case SpecialSubKind::string:
S += "std::basic_string<char, std::char_traits<char>, "
"std::allocator<char> >";
More information about the llvm-commits
mailing list