<div dir="ltr">Maybe it is time to add capability for a .clang-format-ignore file that can work across the tree, then those that want to turn them off could? <div><br></div><div>There are some areas where the tests are already clean. It would be a shame to not keep them so, but I understand that FileCheck sometimes might need comments with length that don't meet the style guide<div><br></div><div>For now could you simply add a local .clang_format file in the test directory to turn clang-format off</div><div><br></div><div>e.g.</div><div>--------------------------------------------------</div><div>BasedOnStyle:LLVM<br></div><div>DisableFormat: true</div><div>-------------------------------------------------- </div><div><div><br></div><div>MyDeveloperDay</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 6, 2020 at 1:47 PM Aaron Ballman 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">On Mon, Jul 6, 2020 at 8:39 AM Bruno Ricci via cfe-dev<br>
<<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br>
><br>
> Would it be possible to turn off the lint pre-merge checks for<br>
> the test/ folder? The suggestion to run clang-format on the tests<br>
> is not useful and adds a lot of noise to the diff.<br>
<br>
Strong +1. Same for running clang-tidy checks, etc.<br>
<br>
~Aaron<br>
<br>
><br>
> Bruno Ricci<br>
> _______________________________________________<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>
_______________________________________________<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>