summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/anonymous-struct.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-16 16:57:24 +0000
committerDan Gohman <gohman@apple.com>2010-08-16 16:57:24 +0000
commit797a1dbb1c29d149ea1f4a0ca537c3d84953e506 (patch)
tree0bb795037d9cf8787430d23a7a524479977e59b5 /clang/test/SemaCXX/anonymous-struct.cpp
parent247474085efd989f67186ca8668a20a72f9ecfb9 (diff)
downloadbcm5719-llvm-797a1dbb1c29d149ea1f4a0ca537c3d84953e506.tar.gz
bcm5719-llvm-797a1dbb1c29d149ea1f4a0ca537c3d84953e506.zip
To create a copy of a SmallVector with an element removed from the
middle, copy the elements in two groups, rather than copying all the elements and then doing an erase on the middle of the result. These are SmallVectors, so we shouldn't expect to hit dynamic allocation in the common case. llvm-svn: 111151
Diffstat (limited to 'clang/test/SemaCXX/anonymous-struct.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud