llvm/llvm-project
Voir sur GitHubReadability check for position of constant operand in binary operators
Open
#31 860 ouverte le 3 avr. 2017
bugzillacheck-requestclang-tidygood 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 | 32513 |
| Version | unspecified |
| OS | All |
Extended Description
Will be good idea to have readability check for position of constant operand in binary operators.
For example:
if (nullptr == Pointer)
should be fixed as
if (Pointer == nullptr)
or
if (0 < Value)
to
if (Value > 0)