Improvements for Clang warning -Wtautological-overlap-compare #13473
Labels
bugzilla
Issues migrated from bugzilla
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
Extended Description
The simple test case, where
It will nice, If we have some flag like -Walways-true, which should warn on such usage.
This will churn out silly bugs.
tested with the following code.
The text was updated successfully, but these errors were encountered: