- Notifications
You must be signed in to change notification settings - Fork 15.4k
Open
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacheck-requestRequest for a new check in clang-tidyRequest for a new check in clang-tidyclang-tidygood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute
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)
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacheck-requestRequest for a new check in clang-tidyRequest for a new check in clang-tidyclang-tidygood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute