[all-commits] [llvm/llvm-project] f34de0: [clang-tidy] [NFC] Potential dereference of nullpt...

Zahira Ammarguellat via All-commits all-commits at lists.llvm.org
Mon Jul 7 03:58:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f34de0a14fa9fac737f042dea3df986dd161adbe
      https://github.com/llvm/llvm-project/commit/f34de0a14fa9fac737f042dea3df986dd161adbe
  Author: Zahira Ammarguellat <zahira.ammarguellat at intel.com>
  Date:   2025-07-07 (Mon, 07 Jul 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/MisleadingSetterOfReferenceCheck.cpp

  Log Message:
  -----------
  [clang-tidy] [NFC] Potential dereference of nullptr. (#143145)

The static analyzer we use internally complains about potential
dereference of `nullptr` for `Found`. I think both `Found` and `Member`
can't be null here (please confirm). I have added assertions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list