<div dir="ltr">Hi Ravi,<div><br></div><div>the syntax seems correct, but you want to remove spaces and possibly add quotes to ensure no shell substitutions are taking place.</div><div><div>  clang-tidy -checks='-*,readability-isolate-declaration' /some/dir/foo.cpp</div><div>should do the trick.</div><div><br></div></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 19, 2019 at 5:45 PM Ravi Koppad via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</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">Hello Team,<div><br></div><div>I want to test the readability-isolate-declaration rule for clang-tidy but the mentioned rule is not enabled.</div><div><br></div><div>Command format used to run the rule:</div><div>clang-tidy -checks=-* , readability-isolate-declaration</div><div><br></div><div>But this gives Error : no checks enabled.</div><div><br></div><div>When I tried going through the official documentation of clang-tidy this rule is available. Kindly could some one suggest on how to enable the above mentioned rule.</div><div><br></div><div>Regards,</div><div>Ravi..</div><div><br></div><div><br></div>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Regards,</div><div>Ilya Biryukov</div></div></div></div></div>