<div dir="auto">Ok, I'll do that. <div dir="auto"><br><div dir="auto">Thanks,</div><div dir="auto">AD</div><div dir="auto"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Aug 14, 2017 5:39 PM, "Aaron Ballman" <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Aug 14, 2017 at 6:34 AM, Abhishek Deshpande via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
> We want to modify the aforementioned check so that it does not flag the<br>
> exceptions that aren't nothrow copy constructible/assignable.<br>
><br>
> This page<br>
> <a href="http://clang.llvm.org/extra/clang-tidy/#using-clang-tidy" rel="noreferrer" target="_blank">http://clang.llvm.org/extra/<wbr>clang-tidy/#using-clang-tidy</a><br>
> tells me to dump the configs of all the checks using<br>
><br>
> %clang-tidy -checks=* -dump-config<br>
><br>
> but it does not mention the cert-err60-cpp.<br>
><br>
> How do I modify the configuration of this check so that it ignores<br>
> exceptions that aren't nothrow copy constructible/assignable ?<br>
><br>
> Or should I just disable the check altogether ?<br>
<br>
You should disable the check (or fix the offending code) -- the<br>
purpose to that check is specifically to diagnose exceptions that are<br>
not nothrow copy constructible, in conformance to<br>
<a href="https://www.securecoding.cert.org/confluence/display/cplusplus/ERR60-CPP.+Exception+objects+must+be+nothrow+copy+constructible" rel="noreferrer" target="_blank">https://www.securecoding.cert.<wbr>org/confluence/display/<wbr>cplusplus/ERR60-CPP.+<wbr>Exception+objects+must+be+<wbr>nothrow+copy+constructible</a>.<br>
<br>
~Aaron<br>
</blockquote></div></div>