Revert "Introduce a string_ostream string builder facilty"
[oota-llvm.git] / utils / FileCheck / FileCheck.cpp
index 2c33e6896b762bacf50f65fdf3e84e4f6be8c555..978e05f4f2ca453d1ff8e131ca4f9b4f91f14156 100644 (file)
@@ -458,7 +458,8 @@ void Pattern::PrintFailureInfo(const SourceMgr &SM, StringRef Buffer,
   // variable values.
   if (!VariableUses.empty()) {
     for (unsigned i = 0, e = VariableUses.size(); i != e; ++i) {
-      small_string_ostream<256> OS;
+      SmallString<256> Msg;
+      raw_svector_ostream OS(Msg);
       StringRef Var = VariableUses[i].first;
       if (Var[0] == '@') {
         std::string Value;