[all-commits] [llvm/llvm-project] 5db12e: [libc] Make UInt<T> trivially copyable

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Thu Apr 20 09:01:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5db12eca1f70bb9c2dab33ff88dcccdfba75af6e
      https://github.com/llvm/llvm-project/commit/5db12eca1f70bb9c2dab33ff88dcccdfba75af6e
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M libc/src/__support/UInt.h

  Log Message:
  -----------
  [libc] Make UInt<T> trivially copyable

This patch defaults the copy constructor and copy operator so it can be
used with __builtin_bit_cast

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D148794




More information about the All-commits mailing list