[libcxx-commits] [libcxx] [libc++] Remove diagnostic about _LIBCPP_ABI_NO_ITERATOR_BASES (PR #208460)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 9 06:32:57 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Louis Dionne (ldionne)

<details>
<summary>Changes</summary>

This was slated for removal in LLVM 22 but we hadn't removed it yet.

---
Full diff: https://github.com/llvm/llvm-project/pull/208460.diff


1 Files Affected:

- (modified) libcxx/include/__configuration/abi.h (-9) 


``````````diff
diff --git a/libcxx/include/__configuration/abi.h b/libcxx/include/__configuration/abi.h
index 8a34ebcc7bb90..85a524b1af334 100644
--- a/libcxx/include/__configuration/abi.h
+++ b/libcxx/include/__configuration/abi.h
@@ -88,15 +88,6 @@
 #  endif
 #endif
 
-// TODO(LLVM 22): Remove this check
-#if defined(_LIBCPP_ABI_NO_ITERATOR_BASES) && !defined(_LIBCPP_ABI_NO_REVERSE_ITERATOR_SECOND_MEMBER)
-#  ifndef _LIBCPP_ONLY_NO_ITERATOR_BASES
-#    error "You probably want to define _LIBCPP_ABI_NO_REVERSE_ITERATOR_SECOND_MEMBER. This has been split out from"   \
- " _LIBCPP_ABI_NO_ITERATOR_BASES to allow only removing the second iterator member, since they aren't really related." \
- "If you actually want this ABI configuration, please define _LIBCPP_ONLY_NO_ITERATOR_BASES instead."
-#  endif
-#endif
-
 // We had some bugs where we use [[no_unique_address]] together with construct_at,
 // which causes UB as the call on construct_at could write to overlapping subobjects
 //

``````````

</details>


https://github.com/llvm/llvm-project/pull/208460


More information about the libcxx-commits mailing list