[all-commits] [llvm/llvm-project] eb7dea: [mutation analyzer] enhance stability for `hasAnyI...

Congcong Cai via All-commits all-commits at lists.llvm.org
Fri Jan 17 06:14:46 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb7dea8bb15a00930b676f78f3b850079e2b964c
      https://github.com/llvm/llvm-project/commit/eb7dea8bb15a00930b676f78f3b850079e2b964c
  Author: Congcong Cai <congcongcai0907 at 163.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M clang/lib/Analysis/ExprMutationAnalyzer.cpp

  Log Message:
  -----------
  [mutation analyzer] enhance stability for `hasAnyInit` matcher (#122915)

I cannot minimal produce it, but when I run clangd with
`misc-const-correctness` check in a big project
clangd crashed due to deref nullptr here.
clang may pass a nullptr to `InitExprs` when meets some error cases.



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