aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2018-09-14 06:08:51 +0000
committerMartin Storsjo <martin@martin.st>2018-09-14 06:08:51 +0000
commit4c201a8ba56984608ce6d9b76692799972116237 (patch)
treebc049953a01a401a6e646567734b7128db992757 /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentf08a9c700bcf1f7096a471ba521b030318582e4b (diff)
downloadllvm-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