================
@@ -31,6 +31,20 @@ void test_unclaimed_use(int *p) { // expected-warning{{'p'
is an unsafe pointer
p[5] = 5; // expected-note{{used in buffer access here}}
}
+namespace std {
----------------
jkorous-apple wrote:
I don't think this test is the right place to add test cases for
`warn_unsafe_buffer_usage_unique_ptr_array_access`. Can we create a new
separate test file?
https://github.com/llvm/llvm-project/pull/156773
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits