[clang] [clang][-Wunsafe-buffer-usage] Add per-family subgroups of -Wunsafe-buffer-usage-in-libc-call (PR #233604)

Ilyas Mallah via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 00:31:12 PST 2026


ilyas-mallah wrote:

The map is built with an Add helper now. The functions strerror_s, strerror_r, bsearch and qsort stay under F::Other, so only the parent flag covers them. The -Wno-all option is gone from the RUN lines, and the subgroups test has one -verify prefix per family. The subgroups, format-attr-call and libc-functions tests and all of clang/test/SemaCXX pass (1462 passed, 0 failed). It's all in https://github.com/llvm/llvm-project/commit/521ce4f9658171af8e18e91e7b1be6fda2cffdb4.

@zmodem @ziqingluo-90 could one of you take the second approval usx95 asked for?


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


More information about the cfe-commits mailing list