[clang] [clang-tools-extra] [clang-tidy][dataflow] Add `bugprone-null-check-after-dereference` check (PR #84166)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 23 06:46:46 PDT 2025
================
@@ -103,6 +103,12 @@ New checks
Finds lambda captures that capture the ``this`` pointer and store it as class
members without handle the copy and move constructors and the assignments.
+- New :doc:`bugprone-null-check-after-dereference
+ <clang-tidy/checks/bugprone/null-check-after-dereference>` check.
+
+ Identifies redundant pointer null-checks, by finding cases where
----------------
EugeneZelenko wrote:
Please use as much of characters as possible to follow 80 characters limit.
https://github.com/llvm/llvm-project/pull/84166
More information about the cfe-commits
mailing list