<div dir="ltr">Hi all,<div><br></div><div>I'm trying to check that all my catch are done by const ref. I copied the current check throw/catch and modified it to add the const check on the type: <a href="https://github.com/mbrucher/clang-tools-extra/commit/2374bfd3d41fa7d55bc597d06a59414c7cef78e1#diff-0a677ae6cda57ad182883b1344b29d9bR51">https://github.com/mbrucher/clang-tools-extra/commit/2374bfd3d41fa7d55bc597d06a59414c7cef78e1#diff-0a677ae6cda57ad182883b1344b29d9bR51</a></div><div>Unfortunately, it seems that none of the checks I try detect the const part. I tried isConstQualified, isLocalConstQualified, is there another way of checking that the exception is const (on top of ref-qualified)? <br clear="all"><div><br></div><div>Regards,</div><div><br></div><div>Matthieu</div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Quantitative analyst, Ph.D.<br>Blog: <a href="http://blog.audio-tk.com/" target="_blank">http://blog.audio-tk.com/</a><br>LinkedIn: <a href="http://www.linkedin.com/in/matthieubrucher" target="_blank">http://www.linkedin.com/in/matthieubrucher</a></div></div></div></div></div>
</div></div>