[clang-tools-extra] [clang-tidy] `bugprone-exception-escape` didn't detech catching of an exception with pointer type by `void *` exception handler (PR #99773)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 22 11:44:49 PDT 2024
================
@@ -245,6 +245,10 @@ Changes in existing checks
where source is already a ``void``` pointer, making middle ``void`` pointer
casts bug-free.
+- 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.
----------------
PiotrZSL wrote:
```suggestion
- Improved :doc:`bugprone-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.
```
https://github.com/llvm/llvm-project/pull/99773
More information about the cfe-commits
mailing list