[all-commits] [llvm/llvm-project] 406758: [clang] Placement new error when modifying consts ...

marius doerner via All-commits all-commits at lists.llvm.org
Tue Mar 25 12:39:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4067581aea299692d37866183b0a535f561892ad
      https://github.com/llvm/llvm-project/commit/4067581aea299692d37866183b0a535f561892ad
  Author: marius doerner <marius.doerner1 at icloud.com>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/SemaCXX/cxx2c-constexpr-placement-new.cpp

  Log Message:
  -----------
  [clang] Placement new error when modifying consts (#132460)

Raise an error when placement new is used to modify a const-qualified
variable in a constexpr function.

Fixes #131432



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