[PATCH] D45050: [clang-tidy] New checker for not null-terminated result caused by strlen(), size() or equal length

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 12 03:15:25 PDT 2018


whisperity accepted this revision.
whisperity added a comment.
This revision is now accepted and ready to land.

Have been looked at this far and wide too many times now. I say we roll this out and fix and improve later on, lest this only going into Clang 72. Results look promising, let's hope users start reporting good findings too.

Considering Tidy has no `alpha` group the name `bugprone` seems like a double-edged sword, as what is bugprone, the checker or what it finds? 😜


https://reviews.llvm.org/D45050





More information about the cfe-commits mailing list