forked from OSchip/llvm-project
parent
f526fb7e9a
commit
2eaf396c41
|
@ -12,9 +12,12 @@
|
|||
using namespace llvm;
|
||||
|
||||
std::string Twine::str() const {
|
||||
// FIXME: This should probably use the toVector implementation, once that is
|
||||
// efficient.
|
||||
std::string Res;
|
||||
raw_string_ostream OS(Res);
|
||||
print(OS);
|
||||
OS.flush();
|
||||
return Res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue