[libc-commits] [PATCH] D148739: [libc] Use __builtin_bit_cast only when src and dest types are trivially copyable

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Apr 20 01:07:29 PDT 2023


sivachandra added a comment.

While this change is OK, we do want the `UInt` class to be trivially copyable. Do you know why it is not trivially copyable even when defaulted?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148739/new/

https://reviews.llvm.org/D148739



More information about the libc-commits mailing list