[clang] Add unique_ptr <T[]> accesses to -Wunsafe-buffer-usage (PR #156773)

via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 8 10:50:24 PDT 2025


shreya-jain wrote:

@jkorous-apple Modified the `-Wunsafe-buffer-usage` to flag use of `operator[]` for `unique_ptr<T[]>`. 



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


More information about the cfe-commits mailing list