Skip to content

readability check to convert numerical constants to std::numeric_limits #34434

@EugeneZelenko

Description

@EugeneZelenko
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().

Metadata

Metadata

Labels

bugzillaIssues migrated from bugzillacheck-requestRequest for a new check in clang-tidyclang-tidyconfirmedVerified by a second partygood first issuehttps://github.com/llvm/llvm-project/contribute

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions