[libcxx-commits] [libcxx] [libc++][hardening] Check bounds on arithmetic in __bounded_iter (PR #78876)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Feb 9 11:11:09 PST 2024


================
@@ -20,77 +20,156 @@ struct Foo {
     int x;
 };
 
+template <typename Iter>
----------------
ldionne wrote:

I would suggest renaming those to `assert.XXXXXXXX.pass.cpp`, not sure why we used `debug.XXXXXXXXX.pass.cpp` since those are not specific to the debug mode.

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


More information about the libcxx-commits mailing list