Introduce a string_ostream string builder facilty
[oota-llvm.git] / include / llvm / TableGen / StringToOffsetTable.h
index c924bd8ec57df304a7cb6e8ae6528c111dc1dfe5..01829a10b2ef07477f0c1e6ce1baed15df70b644 100644 (file)
@@ -42,8 +42,8 @@ public:
 
   void EmitString(raw_ostream &O) {
     // Escape the string.
 
   void EmitString(raw_ostream &O) {
     // Escape the string.
-    SmallString<256> Str;
-    raw_svector_ostream(Str).write_escaped(AggregateString);
+    small_string_ostream<256> Str;
+    Str.write_escaped(AggregateString);
     AggregateString = Str.str();
 
     O << "    \"";
     AggregateString = Str.str();
 
     O << "    \"";