<div dir="ltr"><div>Ok, thanks for the answers. I'll look into it at some point in the foreseeable future (couple of months).</div><div><br></div><div><br></div><div>David<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 27, 2019 at 5:26 PM Jonas Toth <<a href="mailto:development@jonas-toth.eu">development@jonas-toth.eu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hi,</p>
<p>`readability-identifier-naming` has only support for adding
prefixes/postfixes at the moment. This is functionality you would
need to implement yourself (patches welcome ;))<br>
It might be a good idea to allow an additional, optional
configuration that specifies a regex names must adhere to. This
would probably give a better experience for special demands like
this.</p>
<p>Best, Jonas<br>
</p>
<div class="gmail-m_-8047935474715051862moz-cite-prefix">Am 27.02.19 um 15:50 schrieb David Côme
via cfe-dev:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>Is there a way for clang-tidy to support negative
convention ?</div>
<div><br>
</div>
<div>For example, I would like to forbid public members to
start with an m_.</div>
<div><br>
</div>
<div>I can use <span style="font-family:monospace,monospace">key:
readability-identifier-naming.PublicMemberCase,value</span>:
camelBack to identify such cases, but not for
automatically fixing it as will turn a <span style="font-family:monospace,monospace">m_attr </span>into
a <span style="font-family:monospace,monospace">mAttr</span>
whereas what I want is <span style="font-family:monospace,monospace">attr</span>. <br>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote></div>