aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/functional.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-07-01 16:31:47 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-07-01 16:31:47 -0700
commitbd680139d084b673d1f56d0e63e01936c4680a91 (patch)
treef066c89b83db70814a23e5be9731686610fea92c /lib/libcxx/src/functional.cpp
parentc89dd15e1be4959800dc7092d7dd4375253db7bc (diff)
downloadzig-bd680139d084b673d1f56d0e63e01936c4680a91.tar.gz
zig-bd680139d084b673d1f56d0e63e01936c4680a91.zip
update libcxx to llvm 14.0.6
Diffstat (limited to 'lib/libcxx/src/functional.cpp')
-rw-r--r--lib/libcxx/src/functional.cpp4
1 files changed, 3 insertions, 1 deletions
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
{