[clang] [-Wunsafe-buffer-usage] Add unique_ptr <T[]> accesses (PR #156773)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 18 14:02:11 PDT 2025
================
@@ -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 {
----------------
shreya-jain wrote:
Added a new file for this
https://github.com/llvm/llvm-project/pull/156773
More information about the cfe-commits
mailing list