[all-commits] [llvm/llvm-project] 7dd34b: Revert "[Wunsafe-buffer-usage] Fix false positive ...

Nico Weber via All-commits all-commits at lists.llvm.org
Thu Jan 16 06:34:11 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7dd34baf5505d689161c3a8678322a394d7a2929
      https://github.com/llvm/llvm-project/commit/7dd34baf5505d689161c3a8678322a394d7a2929
  Author: Nico Weber <thakis at chromium.org>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    M clang/test/SemaCXX/warn-unsafe-buffer-usage-array.cpp

  Log Message:
  -----------
  Revert "[Wunsafe-buffer-usage] Fix false positive when const sized array is indexed by const evaluatable expressions (#119340)"

This reverts commit 64c2156d8802b0d7724f65ce854844670e4ec457.
Causes asserts, see
https://github.com/llvm/llvm-project/pull/119340#issuecomment-2595858729



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