summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2013-04-18 15:02:57 +0000
committerHoward Hinnant <hhinnant@apple.com>2013-04-18 15:02:57 +0000
commitab65a6f560438af4eb60aa0d66a44c044debf37b (patch)
treef1fd9fe7f8bb6a00a38f9a048b24887f8d79014b /clang/lib
parentcf7c55ebcceb9921c24cfa76006158cf368991cd (diff)
downloadbcm5719-llvm-ab65a6f560438af4eb60aa0d66a44c044debf37b.tar.gz
bcm5719-llvm-ab65a6f560438af4eb60aa0d66a44c044debf37b.zip
After years of telling people: 'If you ever find any of my code that self-move-assigns, send me a bug report.' Somebody finally took me up on it. vector::erase(begin(), begin()) does a self-move-assign of every element in the vector, leaving all of those elements in an unspecified state. I checked the other containers for this same bug and did not find it. Added test case.
llvm-svn: 179760
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud