[all-commits] [llvm/llvm-project] 330b40: [Analysis] Prevent revisiting block when searching...

Serge Pavlov via All-commits all-commits at lists.llvm.org
Wed Jul 30 06:40:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 330b40e11fd20e9a29b9c24de17e4ba23afeedc6
      https://github.com/llvm/llvm-project/commit/330b40e11fd20e9a29b9c24de17e4ba23afeedc6
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M clang/lib/Sema/AnalysisBasedWarnings.cpp
    A clang/test/SemaCXX/noreturn-weverything.c

  Log Message:
  -----------
  [Analysis] Prevent revisiting block when searching for noreturn vars (#150582)

When searching for noreturn variable initializations, do not visit CFG
blocks that are already visited, it prevents hanging the analysis.

It must fix https://github.com/llvm/llvm-project/issues/150336.



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