[clang-tools-extra] [clang-tidy] Improve `bugprone-exception-escape`: add stacktrace of escaped exception (PR #134375)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 18 13:10:12 PDT 2025


vbvictor wrote:

> Could you add some separate tests for this diagnostic?

I've added tests with:
- with template functions
- deeper nesting
- multiple exceptions throw (as for now, it reports for only one, and I'd like to leave it for first iteration)

If there are any more tests that I should, please tell me.


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


More information about the cfe-commits mailing list