[all-commits] [llvm/llvm-project] 227b32: [clang] Remove an incorrect assertion in ConstantF...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Feb 4 03:59:06 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 227b32f6a1329c449f1222a42471190eededa433
      https://github.com/llvm/llvm-project/commit/227b32f6a1329c449f1222a42471190eededa433
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaAttr.cpp
    M clang/test/CodeGenCXX/attr-annotate2.cpp
    M clang/test/SemaCXX/attr-annotate.cpp

  Log Message:
  -----------
  [clang] Remove an incorrect assertion in ConstantFoldAttrs (#105789)

Evaluating the attribute expression can be successful without resulting
in a value. Namely, when the expression is of type void.

Fixes https://github.com/llvm/llvm-project/issues/119125



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