-Wstringop-overread not implemented in Clang #72455
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
enhancement
Improving things as opposed to bug fixing, e.g. new or missing feature
GCC warns on the following code:
Clang doesn't warn. I tried with
-Wall -Wextra
. It seems like it should be fairly easy to warn on this with Clang, perhaps we should implement that diagnostic?https://godbolt.org/z/qP736q5je
The text was updated successfully, but these errors were encountered: