From 6976255faffb03da3f6689f3be5fbe4361c30dfb Mon Sep 17 00:00:00 2001 From: Aditya Kumar <1894981+hiraditya@users.noreply.github.com> Date: Tue, 23 Feb 2021 11:17:29 -0800 Subject: [PATCH] Add noreturn attribute to non-returning functions Differential Revision: https://reviews.llvm.org/D97308 --- libcxx/include/__split_buffer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcxx/include/__split_buffer b/libcxx/include/__split_buffer index 20480d19d31b9..ed8dc8bc1bd8a 100644 --- a/libcxx/include/__split_buffer +++ b/libcxx/include/__split_buffer @@ -20,8 +20,8 @@ template 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 >