[libcxx-commits] [libcxx] [libc++][hardening] Add a bounds check for `valarray` and `bitset`. (PR #120685)
Konstantin Varlamov via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Dec 19 22:34:04 PST 2024
================
@@ -0,0 +1,43 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// <bitset>
+
+// Test hardening assertions for std::bitset using ABI v1 (where the const overload of `operator[]` returns
----------------
var-const wrote:
Please let me know if you have any thoughts on how to handle this difference better.
https://github.com/llvm/llvm-project/pull/120685
More information about the libcxx-commits
mailing list