[all-commits] [llvm/llvm-project] 319fea: [clang][bytecode] Fix AccessKinds in placement new...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri May 23 04:01:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 319feac43d8d1362307076ade85dc6d5bc4b4007
      https://github.com/llvm/llvm-project/commit/319feac43d8d1362307076ade85dc6d5bc4b4007
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/test/AST/ByteCode/placement-new.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix AccessKinds in placement new CheckStore() call (#141123)

CheckStore is for assignments, but we're constructing something here, so
pass AK_Construct instead. We already diagnosed the test case, but as an
assignment.



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