[libc++][NFCI] Remove unnecessary exception-throwing base classes
authorLouis Dionne <ldionne.2@gmail.com>
Thu, 19 Aug 2021 16:15:31 +0000 (12:15 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Thu, 19 Aug 2021 17:59:57 +0000 (13:59 -0400)
commit475f831b178c917206cc89925c3ee63b2aec088d
tree5061435c1f085a32613af5a63f2643d46c696406
parent5fa6039a5fc1b6392a3c9a3326a76604e0cb1001
[libc++][NFCI] Remove unnecessary exception-throwing base classes

__split_buffer_common was entirely unused, and __deque_base_common
was unused except for two calls to __throw_out_of_range(), which have
been inlined.

The usual intent of the __xxx_base_common base classes is to localize
where the exception-throwing code is instantiated, however that wasn't
the case here because we never explicitly instantiated those base classes
in the shared library, unlike what we do for basic_string and vector.

Differential Revision: https://reviews.llvm.org/D108384
libcxx/include/__split_buffer
libcxx/include/deque