[all-commits] [llvm/llvm-project] bd630c: [Clang] Fixed an assertion when ``__attribute__((a...

TPPPP via All-commits all-commits at lists.llvm.org
Mon Jun 8 12:06:22 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd630c6390f631ba4d7adf0244340a2de253f189
      https://github.com/llvm/llvm-project/commit/bd630c6390f631ba4d7adf0244340a2de253f189
  Author: TPPPP <TPPPP72 at outlook.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/Expr.cpp
    M clang/test/Sema/warn-alloc-size.c

  Log Message:
  -----------
  [Clang] Fixed an assertion when ``__attribute__((alloc_size))`` is ued with an argument type wider than the target's pointer width (#202381)

Replace `zext()` with `extOrTrunc()` when normalizing the `APInt` value
to `BitsInSizeT`.

fixes #190445



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