llvm/llvm-project

readability check to convert numerical constants to std::numeric_limits

Open

#34 434 ouverte le 25 oct. 2017

Voir sur GitHub
 (14 commentaires) (0 réactions) (1 assigné)C++ (10 782 forks)batch import
bugzillacheck-requestclang-tidyconfirmedgood first issue

Métriques du dépôt

Stars
 (26 378 stars)
Métriques de merge PR
 (Merge moyen 1j 2h) (1 000 PRs mergées en 30 j)

Description

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

Guide contributeur