projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce a string_ostream string builder facilty
[oota-llvm.git]
/
include
/
llvm
/
TableGen
/
StringToOffsetTable.h
diff --git
a/include/llvm/TableGen/StringToOffsetTable.h
b/include/llvm/TableGen/StringToOffsetTable.h
index c924bd8ec57df304a7cb6e8ae6528c111dc1dfe5..01829a10b2ef07477f0c1e6ce1baed15df70b644 100644
(file)
--- 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.
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 << " \"";