HomePhabricator

[clang-tidy] misc-non-private-member-variables-in-classes: ignore implicit…

Description

[clang-tidy] misc-non-private-member-variables-in-classes: ignore implicit methods

Otherwise we don't warn on a struct containing a single public int, but
we warn on a struct containing a single public std::string, which is
inconsistent.

Details

Committed
vmiklosJan 20 2019, 6:28 AM
Differential Revision
D56966: [clang-tidy] misc-non-private-member-variables-in-classes: ignore implicit methods
Branches
Unknown
Tags
Unknown

Event Timeline

@hans any chance this could be merged into 8.0 please?

That is a new check, it will be it's first release,
would be great to avoid such notable differences with further versions,
especially since there weren't rc0 yet, i think..