================
@@ -429,6 +429,29 @@ int *returnPtrToLocalArray() {
return std::begin(a); // TODO
}
+namespace lifetimebound_stl_algorithms {
----------------
firewave wrote:
I know these tests are only there to satisfy the patterns but they are
fundamentally flawed.
They unconditionally dereference an (potentially) invalid iterator (`end()`) or
use mismatching iterators (`begin()` and `end()` from two different temporary
objects).
https://github.com/llvm/llvm-project/pull/179227
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits