[all-commits] [llvm/llvm-project] 01ffe3: [llvm] Remove llvm::is_trivially_{copy/move}_const...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Aug 20 14:06:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01ffe31cbb54bfd8e38e71b3cf804a1d67ebf9c1
      https://github.com/llvm/llvm-project/commit/01ffe31cbb54bfd8e38e71b3cf804a1d67ebf9c1
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-20 (Sat, 20 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ADT/FunctionExtras.h
    M llvm/include/llvm/ADT/Optional.h
    M llvm/include/llvm/ADT/SmallVector.h
    M llvm/include/llvm/Support/type_traits.h
    M llvm/unittests/Support/TypeTraitsTest.cpp

  Log Message:
  -----------
  [llvm] Remove llvm::is_trivially_{copy/move}_constructible (NFC)

This patch removes llvm::is_trivially_{copy/move}_constructible in
favor of std::is_trivially_{copy/move}_constructible.

The previous attempt to remove them in Dec 2020,
c8d406c93c5bb01599990201f78d8428dd29d289, broke builds with "some
versions of GCC" according to
6cd9608fb37ca2418fb44b57ec955bb5efe10689.

It's been 20 months since then, and the minimum requirement for GCC
has been updated to 7.1 from 5.1.

FWIW, I was able to build llvm with gcc 8.4.0.

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




More information about the All-commits mailing list