[libcxx-commits] [libcxx] 48aade5 - [libc++][NFC] Fix comment about size-based vector (#208463)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 9 06:37:47 PDT 2026
Author: Louis Dionne
Date: 2026-07-09T09:37:42-04:00
New Revision: 48aade5e5208414693b695b1dfdb6c95ae56ccf6
URL: https://github.com/llvm/llvm-project/commit/48aade5e5208414693b695b1dfdb6c95ae56ccf6
DIFF: https://github.com/llvm/llvm-project/commit/48aade5e5208414693b695b1dfdb6c95ae56ccf6.diff
LOG: [libc++][NFC] Fix comment about size-based vector (#208463)
The closing #endif comment was using _LIBCPP_ABI_SIZE_BASED_VECTOR,
which was the name of the macro in previous iterations of the size-based
vector patch. We ended up landing on _LIBCPP_ABI_VECTOR_LAYOUT_SIZE_BASED
instead.
Added:
Modified:
libcxx/include/__vector/layout.h
Removed:
################################################################################
diff --git a/libcxx/include/__vector/layout.h b/libcxx/include/__vector/layout.h
index 61910a42fd708..3318a13a8ede1 100644
--- a/libcxx/include/__vector/layout.h
+++ b/libcxx/include/__vector/layout.h
@@ -459,7 +459,7 @@ _LIBCPP_CONSTEXPR_SINCE_CXX20 bool __vector_layout<_Tp, _Alloc>::__invariants()
return false;
return __end_ <= __capacity_;
}
-#endif // _LIBCPP_ABI_SIZE_BASED_VECTOR
+#endif // _LIBCPP_ABI_VECTOR_LAYOUT_SIZE_BASED
_LIBCPP_END_NAMESPACE_STD
More information about the libcxx-commits
mailing list