Top-level code not analyzed by -Wunsafe-buffer-usage #92664
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
false-negative
In issue 92191 we discovered
-Wunsafe-buffer-usage
is apparently not run on top-level code. The following snippet demonstrates this.Live repro: https://godbolt.org/z/x58vKoqje
@haoNoQ @jkorous-apple
The text was updated successfully, but these errors were encountered: