diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-03-13 18:21:17 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-03-13 18:21:17 +0000 |
commit | 007b9dc5936296ae65db926611d7204b865f92da (patch) | |
tree | c0242c8d903b23e0cc73c2bf52d7140d47f9d54d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 87fa77bd8a53d338df10f37718d4e7bcc9b74550 (diff) | |
download | llvm-007b9dc5936296ae65db926611d7204b865f92da.zip llvm-007b9dc5936296ae65db926611d7204b865f92da.tar.gz llvm-007b9dc5936296ae65db926611d7204b865f92da.tar.bz2 |
[Basic] Stop using a SmallVector<> for Diagnostic. This drops Clang binary size
by ~%.3/~100k in my build -- simply by eliminating the horrible code bloat coming
from the .clear() of the SmallVector<FixItHint>, which does a std::~string, etc.
- My understanding is we don't ever emit arbitrary numbers of fixits, so I just
moved us to using a statically sized array like we do for arguments and
ranges.
llvm-svn: 152639
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions