diff options
Diffstat (limited to 'include/llvm/TableGen/StringToOffsetTable.h')
-rw-r--r-- | include/llvm/TableGen/StringToOffsetTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/TableGen/StringToOffsetTable.h b/include/llvm/TableGen/StringToOffsetTable.h index 01829a10b2..c924bd8ec5 100644 --- a/include/llvm/TableGen/StringToOffsetTable.h +++ b/include/llvm/TableGen/StringToOffsetTable.h @@ -42,8 +42,8 @@ public: void EmitString(raw_ostream &O) { // Escape the string. - small_string_ostream<256> Str; - Str.write_escaped(AggregateString); + SmallString<256> Str; + raw_svector_ostream(Str).write_escaped(AggregateString); AggregateString = Str.str(); O << " \""; |