[libcxx-commits] [libcxx] 081a5e6 - [libc++][NFC] Remove unused #define (#195831)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu May 7 05:09:29 PDT 2026
Author: Nikolas Klauser
Date: 2026-05-07T14:09:23+02:00
New Revision: 081a5e6a561880f0d7d973eb37ad987878e424c1
URL: https://github.com/llvm/llvm-project/commit/081a5e6a561880f0d7d973eb37ad987878e424c1
DIFF: https://github.com/llvm/llvm-project/commit/081a5e6a561880f0d7d973eb37ad987878e424c1.diff
LOG: [libc++][NFC] Remove unused #define (#195831)
We've removed the use of
`_LIBCPP_ABI_BAD_FUNCTION_CALL_GOOD_WHAT_MESSAGE` a while ago, but
didn't remove the `#define` for it.
Added:
Modified:
libcxx/include/__configuration/abi.h
Removed:
################################################################################
diff --git a/libcxx/include/__configuration/abi.h b/libcxx/include/__configuration/abi.h
index 5ce040fbcb599..8781cb11e22ef 100644
--- a/libcxx/include/__configuration/abi.h
+++ b/libcxx/include/__configuration/abi.h
@@ -52,12 +52,6 @@
#if _LIBCPP_ABI_VERSION >= 2
// TODO: Move the description of the remaining ABI flags to ABIGuarantees.rst or remove them.
-// Override the default return value of exception::what() for bad_function_call::what()
-// with a string that is specific to bad_function_call (see http://wg21.link/LWG2233).
-// This is an ABI break on platforms that sign and authenticate vtable function pointers
-// because it changes the mangling of the virtual function located in the vtable, which
-// changes how it gets signed.
-# define _LIBCPP_ABI_BAD_FUNCTION_CALL_GOOD_WHAT_MESSAGE
// According to the Standard, `bitset::operator[] const` returns bool
# define _LIBCPP_ABI_BITSET_VECTOR_BOOL_CONST_SUBSCRIPT_RETURN_BOOL
More information about the libcxx-commits
mailing list