[all-commits] [llvm/llvm-project] ca0bb0: Make sure some types are indeed trivially_copyable...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Wed Feb 24 09:25:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca0bb0e8875097b9cdc60790438a1118da3911ba
      https://github.com/llvm/llvm-project/commit/ca0bb0e8875097b9cdc60790438a1118da3911ba
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M llvm/unittests/Support/TypeTraitsTest.cpp

  Log Message:
  -----------
  Make sure some types are indeed trivially_copyable per llvm::is_trivially_copyable

Test a few types used as llvm::SmallVector parameter. It is important to ensure
we have a consistent behavior for these types to prevent ABI issues as the one
we met in https://bugs.llvm.org/show_bug.cgi?id=39427.

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




More information about the All-commits mailing list