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

Serge Pavlov via All-commits all-commits at lists.llvm.org
Fri Aug 1 00:12:00 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f207cb4ed22ac95c0e8d97334d40f03f652f000e
      https://github.com/llvm/llvm-project/commit/f207cb4ed22ac95c0e8d97334d40f03f652f000e
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2025-08-01 (Fri, 01 Aug 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.

(cherry picked from commit 330b40e11fd20e9a29b9c24de17e4ba23afeedc6)



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