Skip to content
Commit 007b9dc5 authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

[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
parent 87fa77bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment