diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-08-19 17:54:29 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-19 17:54:29 +0000 |
| commit | b090bf462616a0edb81bec8e6fc1b97f5841b6eb (patch) | |
| tree | 932033e39925641224909d307466428df1c1202f /clang/lib/Frontend/HTMLDiagnostics.cpp | |
| parent | 825e955e40d2d68770aab2f85785f33fd2adbd31 (diff) | |
| download | llvm-b090bf462616a0edb81bec8e6fc1b97f5841b6eb.zip llvm-b090bf462616a0edb81bec8e6fc1b97f5841b6eb.tar.gz llvm-b090bf462616a0edb81bec8e6fc1b97f5841b6eb.tar.bz2 | |
Switch raw_svector_ostream to use the vector as the ostream buffer.
- This avoids unnecessary malloc/free overhead in the common case, and
unnecessary copying from the ostream buffer into the output vector.
llvm-svn: 79434
Diffstat (limited to 'clang/lib/Frontend/HTMLDiagnostics.cpp')
0 files changed, 0 insertions, 0 deletions
