The rules which is the base of this checker is removed from the Google C++ Style Guide in May: Update C++ styleguide. Now this checker became obsolete.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
IMHO this check never made any sense. There was a Google-specific rule for this, that is why it was placed in google not in readability. Generally, forcing programmers not to use non-const reference parameters and force them the old C way (pointers) does not make any sense. I wonder why this rule was there in Google, but outside of it I never saw such a rule. I would surely not place such check into readability because following such rule reduces the readability instead of improving it. However, the main point is that even for Google there is no such rule anymore thus I see no point to keep this check.
LGTM to remove rather than move into readability unless someone has a good argument as to why it belongs there. I don't think this pattern makes code more readable in general as it recommends using a more verbose syntax (pointers, which require dereferencing) over a safer, concise syntax (references, which carry semantic information about nullness).
One request though: can you add a release note about the removal with a brief explanation of why it was removed?
@hans it would be nice if this could make it into the release,
removing stuff is usually a pretty safe thing to do :)
I think it's too late for this release, sorry. I also don't see any particular reason to rush this one.