<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2016-12-12 18:29 GMT+01:00 Richard via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
[Please reply *only* to the list and do not include my email directly<br>
in the To: or Cc: of your reply; otherwise I will not see your reply.<br>
Thanks.]<br>
<br>
In article <<a href="mailto:CAEhrgAPqzCPZhtJ7qbgk%2BV-Vc_T-wSBsgPWHg74dj4QSrg4SZQ@mail.gmail.com">CAEhrgAPqzCPZhtJ7qbgk+V-Vc_T-<wbr>wSBsgPWHg74dj4QSrg4SZQ@mail.<wbr>gmail.com</a>>,<br>
<span class=""> Piotr Padlewski via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> writes:<br>
<br>
> This sounds also good. I was thinking that it would be nice if clang-tidy<br>
> itself could warn about old name and dump config, but problem here is<br>
> when user have configuration "misc-*" and we moved one check from misc to<br>
> other group. We should probably dump clang-tidy version in the config to<br>
> know how old is config.<br>
<br>
</span>I believe clang-tidy already has a mechanism for saying "this check is<br>
an alias of this other check", so you can migrate the checks to a new<br>
organization and keep the old names as aliases for the new names.<br>
<br></blockquote><div>I know about the aliases.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I don't know if it emits any kind of diagnostic that you are using an<br>
old alias. We could introduce a way of deprecating a check name and<br>
emit if you use the deprecated name.<br></blockquote><div>The problem that I mentioned, if we move one check and someone is enabling it with asterisk ("misc-*")</div><div>then having the todays config we would not know if the user meant to use old check or not.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">--<br>
"The Direct3D Graphics Pipeline" free book <<a href="http://tinyurl.com/d3d-pipeline" rel="noreferrer" target="_blank">http://tinyurl.com/d3d-<wbr>pipeline</a>><br>
The Terminals Wiki <<a href="http://terminals-wiki.org" rel="noreferrer" target="_blank">http://terminals-wiki.org</a>><br>
The Computer Graphics Museum <<a href="http://ComputerGraphicsMuseum.org" rel="noreferrer" target="_blank">http://<wbr>ComputerGraphicsMuseum.org</a>><br>
Legalize Adulthood! (my blog) <<a href="http://LegalizeAdulthood.wordpress.com" rel="noreferrer" target="_blank">http://LegalizeAdulthood.<wbr>wordpress.com</a>><br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>