[clang-tools-extra] [clang-tidy]: Ignore empty `catch` blocks in destructors in `bugprone-empty-catch` check (PR #161379)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 1 05:43:00 PDT 2025


https://github.com/5chmidti commented:

I'm also of the opinion that being stricter is the much better default. I think we are also quite consistent with it. Some checks have some matching disabled that would technically be more strict, and this could be said about this option as well but matching empty catches in destructors is the better default IMO.

https://github.com/llvm/llvm-project/pull/161379


More information about the cfe-commits mailing list