[clang-tools-extra] [clang-tidy] `bugprone-exception-escape` didn't detech catching of an exception with pointer type by `void *` exception handler (PR #99773)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 21 08:05:42 PDT 2024
================
@@ -518,6 +518,10 @@ Changes in existing checks
usages of ``std::string_view::compare``. Added a `StringLikeClasses` option
to detect usages of ``compare`` method in custom string-like classes.
+- Improved :doc:`exception-escape <clang-tidy/checks/bugprone/exception-escape>`
+ check to correctly detect exception handler of type `CV void *` as catching all
+ `CV` compatible pointer types.
----------------
EugeneZelenko wrote:
```suggestion
``CV`` compatible pointer types.
```
https://github.com/llvm/llvm-project/pull/99773
More information about the cfe-commits
mailing list