[clang] [clang-tools-extra] [clang-tidy][dataflow] Add `bugprone-null-check-after-dereference` check (PR #84166)

Yitzhak Mandelbaum via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 7 11:29:45 PST 2024


ymand wrote:

> > I think those issues are stale.
> 
> Last time I tested it it were on Clang-tidy 17. I'm doing migration to Clang-tidy 18 now. I will check this and bugprone-unchecked-optional-access check on my code-base, on which it were unstable previously. If nothing will hang/crash, then I will be more than happy.

Thanks! Note that one open issue is being fixed in https://github.com/llvm/llvm-project/pull/84138 (which I just realized has not landed yet as a commit). So, if you still see crashes, please let us know if that PR fixes it.

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


More information about the cfe-commits mailing list