llvm/llvm-project
在 GitHub 查看readability check to convert numerical constants to std::numeric_limits
Open
#34,434 建立於 2017年10月25日
bugzillacheck-requestclang-tidyconfirmedgood first issue
描述
| Bugzilla Link | 35086 |
| Version | unspecified |
| OS | All |
| CC | @JonasToth |
Extended Description
It'll be great to have readability check with will convert ~0, -1 for unsigned integer types to std::numeric_limits::max().