[clang-tools-extra] [clang-tidy]: Ignore empty `catch` blocks in destructors in `bugprone-empty-catch` check (PR #161379)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 30 07:57:04 PDT 2025
vbvictor wrote:
I think this should be an option instead.
If there is a global logger in program, it could be used to at least write a warning message that something was caught inside destructor. I believe it's something that people could enforce with this check and disabling such functionality unconditionally is not good IMO.
https://github.com/llvm/llvm-project/pull/161379
More information about the cfe-commits
mailing list