Support new name of std::string in libc++.

This commit is contained in:
Axel Naumann 2014-03-31 15:08:48 +02:00 committed by sftnight
parent 68221520fc
commit 700a647a2a

View File

@ -288,7 +288,8 @@ static void StreamValue(llvm::raw_ostream& o, const void* const p,
else if (Ty.getAsString().compare("class std::basic_string<char>") == 0
|| Ty.getAsString().compare("class std::__1::basic_string<char, "
"struct std::__1::char_traits<char>, "
"class std::__1::allocator<char> >")
"class std::__1::allocator<char> >") == 0
|| Ty.getAsString().compare("class std::__1::basic_string<char>")
== 0) {
StreamObj(o, p, ValuePrinterInfo(Ty, &C));
o << " "; // force a space