[cfe-dev] [clang-tidy] Support for negative convention

David Côme via cfe-dev cfe-dev at lists.llvm.org
Wed Feb 27 06:50:01 PST 2019


Hello,

Is there a way for clang-tidy to support negative convention ?

For example, I would like to forbid public members to start with an m_.

I can use  key: readability-identifier-naming.PublicMemberCase,value:
camelBack to identify such cases, but not for automatically fixing it as
will turn a m_attr into a mAttr whereas what I want is attr.

Any help appreciated.

Regards,
David Come
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190227/7bf9b736/attachment.html>


More information about the cfe-dev mailing list