[all-commits] [llvm/llvm-project] 9797b5: [C++20][Modules] Fix false compilation error with ...

Dmitry Polukhin via All-commits all-commits at lists.llvm.org
Wed Jun 11 02:35:27 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9797b5fcfbb9b9c96a219985f3623849bbd3956e
      https://github.com/llvm/llvm-project/commit/9797b5fcfbb9b9c96a219985f3623849bbd3956e
  Author: Dmitry Polukhin <34227995+dmpolukhin at users.noreply.github.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    A clang/test/Modules/constexpr-initialization-failure.cpp

  Log Message:
  -----------
  [C++20][Modules] Fix false compilation error with constexpr (#143168)

Use declaresSameEntity when evaluating constexpr to avoid resetting
computed union value due to using different instances of the merged
field decl.



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