diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-16 09:10:19 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-16 09:10:19 +0000 |
commit | daffc0dd4cf5af361bd921668eb3a217d393fdc8 (patch) | |
tree | 2de57145bfba5b04e064052aa10b9dec6177d3f4 /clang/lib/Driver/Tools.cpp | |
parent | 736c14fac43c71af0ffa873ff155c369e2c6bbf2 (diff) | |
download | bcm5719-llvm-daffc0dd4cf5af361bd921668eb3a217d393fdc8.tar.gz bcm5719-llvm-daffc0dd4cf5af361bd921668eb3a217d393fdc8.zip |
Change the datastructure for UnwrappedLines.
It was quite convoluted leading to us accidentally introducing O(N^2)
complexity while copying from UnwrappedLine to AnnotatedLine. We might
still want to improve the datastructure in AnnotatedLine (most
importantly not put them in a vector where they need to be copied on
vector resizing but that will be done as a follow-up.
This fixes most of the regression in llvm.org/PR14959.
No formatting changes intended.
llvm-svn: 172602
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions