diff options
| author | Alp Toker <alp@nuanti.com> | 2014-07-11 18:23:08 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-07-11 18:23:08 +0000 |
| commit | 48bbd061bc46891afed70ceafced3c2343e4b6ae (patch) | |
| tree | 139dd72b4626d4db74ce63340c30dd4fb2e0cf2e /clang/include/clang-c | |
| parent | 547864d26aa3ab7076395786f9deaf404888cb07 (diff) | |
| download | bcm5719-llvm-48bbd061bc46891afed70ceafced3c2343e4b6ae.tar.gz bcm5719-llvm-48bbd061bc46891afed70ceafced3c2343e4b6ae.zip | |
Simplify the raw_svector_ostream tweak from r212816
The memcpy() and overlap helps didn't help much with timings, so clean up the change.
The difference at this point is that we now leave growth of the storage buffer
up to SmallVector's implementation:
- OS.reserve(OS.capacity() * 2);
+ OS.reserve(OS.size() + 64);
llvm-svn: 212837
Diffstat (limited to 'clang/include/clang-c')
0 files changed, 0 insertions, 0 deletions

