diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-10 03:06:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-10 03:06:05 -0400 |
| commit | b88151e0e1553607cbebc197e1111ec4bf53a595 (patch) | |
| tree | cd4f57feae521500fe4eb99a98a798241256d341 /lib/libcxx/src/functional.cpp | |
| parent | 3f11d1d56d9747de974b00eab1c880bea7972c01 (diff) | |
| parent | f9bf4889264aee387639bb8a35fdf594236b1283 (diff) | |
| download | zig-b88151e0e1553607cbebc197e1111ec4bf53a595.tar.gz zig-b88151e0e1553607cbebc197e1111ec4bf53a595.zip | |
Merge pull request #12001 from ziglang/llvm14
Upgrade to LLVM 14
Diffstat (limited to 'lib/libcxx/src/functional.cpp')
| -rw-r--r-- | lib/libcxx/src/functional.cpp | 4 |
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 { |
