commit | f77ee9b3c983dd641a3c4a449554cc878d650dc5 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne@apple.com> | Wed Dec 12 23:58:25 2018 +0000 |
committer | Louis Dionne <ldionne@apple.com> | Wed Dec 12 23:58:25 2018 +0000 |
tree | 4522fd633f344b7f1ba829dd4ec11b14808cf2c9 | |
parent | f0c3a12346c56026f2a86bfe35bc57540fc8edfe [diff] |
[libcxx] Add assertion in deque::pop_back when popping from an empty deque Also, add tests making sure that vector and deque both catch the problem when assertions are enabled. Otherwise, deque would segfault and vector would never terminate. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@348994 91177308-0d34-0410-b5e6-96231b3b80d8