[clang-tools-extra] Add bugprone-sprintf-argument-overlap (PR #114244)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 6 23:28:12 PST 2025


carlosgalvezp wrote:

> Is this still worth adding here? I didn't see an equivalent in clang's -Wall.

Indeed Clang is missing this check in -Wall. For parity with GCC it probably makes sense to add it to -Wall as well instead of being a clang-tidy check. What do you think @AaronBallman ?

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


More information about the cfe-commits mailing list