[PATCH] D138253: [-Wunsafe-buffer-usage] NFC: Implement fix-strategies and variable-use-claiming.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 19 14:24:08 PST 2022


NoQ added a comment.

Also if you're compiling your code with `-Weverything` by default, I do recommend explicitly disabling `-Wunsafe-buffer-usage` for at least a month or so, until we land all the basic functionality and you can make an informed decision whether you actually need it (more reading in https://discourse.llvm.org/t/rfc-c-buffer-hardening/65734 and D136811 <https://reviews.llvm.org/D136811>).

But, yeah, we still shouldn't break users who simply want to enable `-Weverything` temporarily just to see what warnings are there, that's really bad and I hope I'll patch this up today.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138253/new/

https://reviews.llvm.org/D138253



More information about the cfe-commits mailing list