[PATCH] D96607: [clang-tidy] Add check 'readability-pointer-type-star-placement'.

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 13 04:28:44 PST 2021


whisperity added a comment.

In D96607#2561287 <https://reviews.llvm.org/D96607#2561287>, @njames93 wrote:

> I don't see the use case you suggest as a strong enough motivation for this, clang-format does this job very well and we shouldn't be reinventing the wheel here.

Can you turn all mechanisms of clang-format off, except the pointer placement rule?

----

Several coding guidelines and projects put the pointer to the left, not to the right. So even if this check goes in, there should definitely be an option for which side you want to enforce and fix for...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96607/new/

https://reviews.llvm.org/D96607



More information about the cfe-commits mailing list