Provide way to specify threshold for -Wmisexcept #46534
Labels
bugzilla
Issues migrated from bugzilla
clang:driver
'clang' and 'clang++' user-facing binaries. Not 'clang-cl'
Extended Description
Nowdays, -Wmisexpect warns too much uselessly, eg.:
../lib/decompress/zstd_decompress_block.c:874:17: warning: Potential performance regression from use of __builtin_expect(): Annotation was correct on 90.49% (1747623 / 1931364) of profiled executions. [-Wmisexpect]
It would be great to provide way to specify threshold to stop this warning.
For example, with -Wmisexpect=70 we would not warn for case above.
The text was updated successfully, but these errors were encountered: