aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2012-03-13 18:21:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2012-03-13 18:21:17 +0000
commit007b9dc5936296ae65db926611d7204b865f92da (patch)
treec0242c8d903b23e0cc73c2bf52d7140d47f9d54d /clang/lib/Frontend/CompilerInvocation.cpp
parent87fa77bd8a53d338df10f37718d4e7bcc9b74550 (diff)
downloadllvm-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