<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Sep 16, 2015 at 11:15 AM, Gonzalo BG via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I'm trying to set up clang-tidy's readability-identifier-naming for a project but the docs of clang-tidy are in general very scarce (a couple of example .clang-tidy files would definitely help). </div><div><br></div><div>In particular I cannot figure out how to set up the "CaseType" option of the readability-identifier-naming check. Any Ideas? I've tried </div><div><br></div><div><div>CheckOptions: </div><div> - key: readability-identifier-naming.CaseType</div><div> value: 'lower_case'</div><div><br></div><div>without any luck.</div><br>I've also tried to dump the config using "-dump-config" to see all the knobs clang-tidy has but after a couple of lines I get "..." which I guess means that the rest of the options are not shown maybe because the list is too long.</div></div></blockquote><div><br></div><div>It's an interesting interpretation, but the truth is somewhat more boring. From <a href="http://www.yaml.org/spec/1.2/spec.html#id2760395">http://www.yaml.org/spec/1.2/spec.html#id2760395</a>:</div></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_extra"><div class="gmail_quote"><div>YAML uses three dashes (“---”) to separate directives from document content. This also serves to signal the start of a document if no directives are present. <b>Three dots ( “...”) indicate the end of a document without starting a new one</b>, for use in communication channels.<br></div></div></div></blockquote><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>I tried to make the help message for -dump-config better in r247792. Please tell me, if you have other suggestions on how to make this more usable.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Is there a way to get all the options of all the checks clang-tidy has?<br><br>Best regards,<br>Gonzalo</div></div>
<br>_______________________________________________<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/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br>
</div></div>