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

Assignees

No one assigned

    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