[all-commits] [llvm/llvm-project] 173274: [Analyzer] No longer crash with VLA operands to un...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Aug 1 09:32:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17327482f045b7119e116320db3e9c12fcf250ae
      https://github.com/llvm/llvm-project/commit/17327482f045b7119e116320db3e9c12fcf250ae
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2025-08-01 (Fri, 01 Aug 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
    A clang/test/Analysis/engine/gh151711.cpp

  Log Message:
  -----------
  [Analyzer] No longer crash with VLA operands to unary type traits (#151719)

sizeof was handled correctly, but __datasizeof and _Countof were not.

Fixes #151711



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