[all-commits] [llvm/llvm-project] 8b2582: [clang][bytecode] Diagnose copying empty mutable u...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon May 4 02:44:47 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b258206819d48ff6410ea99f3c63738318bd178
      https://github.com/llvm/llvm-project/commit/8b258206819d48ff6410ea99f3c63738318bd178
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Function.cpp
    M clang/lib/AST/ByteCode/Function.h
    M clang/lib/AST/ByteCode/Interp.cpp
    M clang/lib/AST/ByteCode/InterpFrame.cpp
    M clang/test/AST/ByteCode/records.cpp

  Log Message:
  -----------
  [clang][bytecode] Diagnose copying empty mutable unions (#195529)

We had a special case for copy/move ctors of empty unions. Remove that.
Everything else is just so we don't regress diagnostics.



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