[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
Tue Mar 12 07:51:08 PDT 2024
================
@@ -0,0 +1,162 @@
+.. title:: clang-tidy - bugprone-null-check-after-dereference
+
+bugprone-null-check-after-dereference
+=====================================
+
+.. note::
+
+ This check uses a flow-sensitive static analysis to produce its
+ results. Therefore, it may be more resource intensive (RAM, CPU) than the
+ average Clang-tidy check.
+
+This check identifies redundant pointer null-checks, by finding cases where the
----------------
EugeneZelenko wrote:
Please synchronize with statement in Release Notes.
https://github.com/llvm/llvm-project/pull/84166
More information about the cfe-commits
mailing list