From 700a647a2a3f18c7b6e43d9315362ebe419415b1 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Mon, 31 Mar 2014 15:08:48 +0200 Subject: [PATCH] Support new name of std::string in libc++. --- lib/Interpreter/ValuePrinter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Interpreter/ValuePrinter.cpp b/lib/Interpreter/ValuePrinter.cpp index f14861d0..da377a48 100644 --- a/lib/Interpreter/ValuePrinter.cpp +++ b/lib/Interpreter/ValuePrinter.cpp @@ -288,7 +288,8 @@ static void StreamValue(llvm::raw_ostream& o, const void* const p, else if (Ty.getAsString().compare("class std::basic_string") == 0 || Ty.getAsString().compare("class std::__1::basic_string, " - "class std::__1::allocator >") + "class std::__1::allocator >") == 0 + || Ty.getAsString().compare("class std::__1::basic_string") == 0) { StreamObj(o, p, ValuePrinterInfo(Ty, &C)); o << " "; // force a space