[clang] [-Wunsafe-buffer-usage] Add alloc_size knowledge to the 2-param span constructor warning (PR #114894)

Malavika Samak via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 20 06:09:14 PST 2024


================

----------------
malavikasamak wrote:

Can you please rebase this PR? The isSafeSpanTwoParamConstruct matcher has changes on the main branch that are not present here. For instance, case 6 is now used by :`std::span<T>{std::addressof(...), 1}` on the main branch.

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


More information about the cfe-commits mailing list