Skip to content

Commit

Permalink
Add noreturn attribute to non-returning functions
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D97308
  • Loading branch information
hiraditya committed Mar 10, 2021
1 parent be646e3 commit 6976255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libcxx/include/__split_buffer
Expand Up @@ -20,8 +20,8 @@ template <bool>
class __split_buffer_common
{
protected:
void __throw_length_error() const;
void __throw_out_of_range() const;
_LIBCPP_NORETURN void __throw_length_error() const;
_LIBCPP_NORETURN void __throw_out_of_range() const;
};

template <class _Tp, class _Allocator = allocator<_Tp> >
Expand Down

0 comments on commit 6976255

Please sign in to comment.