diff options
author | Martin Storsjo <martin@martin.st> | 2018-09-14 06:08:51 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-09-14 06:08:51 +0000 |
commit | 4c201a8ba56984608ce6d9b76692799972116237 (patch) | |
tree | bc049953a01a401a6e646567734b7128db992757 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | f08a9c700bcf1f7096a471ba521b030318582e4b (diff) | |
download | llvm-4c201a8ba56984608ce6d9b76692799972116237.zip llvm-4c201a8ba56984608ce6d9b76692799972116237.tar.gz llvm-4c201a8ba56984608ce6d9b76692799972116237.tar.bz2 |
[COFF] Avoid copying of chunk vectors. NFC.
When declaring the pair variable as "auto Pair : Map", it is
effectively declared as
std::pair<std::pair<StringRef, uint32_t>, std::vector<Chunk *>>.
This effectively does a full, shallow copy of the Chunk vector,
just to be thrown away after each iteration.
Differential Revision: https://reviews.llvm.org/D52051
llvm-svn: 342205
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions