[clang-tools-extra] [clang-tidy]Add new check bugprone-casting-through-void (PR #69465)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 18 07:25:59 PDT 2023


================
@@ -125,6 +125,12 @@ Improvements to clang-tidy
 New checks
 ^^^^^^^^^^
 
+- New :doc:`bugprone-casting-through-void
+  <clang-tidy/checks/bugprone/casting-through-void>` check.
+
+  Detects usage of ``static_cast`` pointer to the other pointer throght
----------------
PiotrZSL wrote:

Not only static_cast, need some generic description.

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


More information about the cfe-commits mailing list