From bd680139d084b673d1f56d0e63e01936c4680a91 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 1 Jul 2022 16:31:47 -0700 Subject: update libcxx to llvm 14.0.6 --- lib/libcxx/src/functional.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libcxx/src/functional.cpp') diff --git a/lib/libcxx/src/functional.cpp b/lib/libcxx/src/functional.cpp index cc5f43a9f2..d8cfaa7033 100644 --- a/lib/libcxx/src/functional.cpp +++ b/lib/libcxx/src/functional.cpp @@ -1,4 +1,4 @@ -//===----------------------- functional.cpp -------------------------------===// +//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -14,7 +14,9 @@ _LIBCPP_BEGIN_NAMESPACE_STD bad_function_call::~bad_function_call() noexcept { } +#endif +#ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_GOOD_WHAT_MESSAGE const char* bad_function_call::what() const noexcept { -- cgit v1.2.3