[all-commits] [llvm/llvm-project] 4d4bd4: Use std::is_trivially_copyable

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 2 09:58:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d4bd40b578d77b8c5bc349ded405fb58c333c78
      https://github.com/llvm/llvm-project/commit/4d4bd40b578d77b8c5bc349ded405fb58c333c78
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M llvm/docs/ProgrammersManual.rst
    M llvm/include/llvm/ADT/DenseMap.h
    M llvm/include/llvm/ADT/Optional.h
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h
    M llvm/tools/llvm-diff/DifferenceEngine.cpp
    M llvm/unittests/ADT/ArrayRefTest.cpp
    M llvm/unittests/ADT/ImmutableListTest.cpp
    M llvm/unittests/ADT/OptionalTest.cpp
    M llvm/unittests/ADT/PointerIntPairTest.cpp
    M llvm/unittests/ADT/StringRefTest.cpp
    M llvm/unittests/Analysis/BlockFrequencyInfoTest.cpp
    M llvm/unittests/Bitstream/BitstreamReaderTest.cpp
    M llvm/unittests/CodeGen/MachineInstrTest.cpp
    M llvm/unittests/CodeGen/TypeTraitsTest.cpp
    M llvm/unittests/IR/CFGBuilder.cpp
    M llvm/unittests/Support/ScaledNumberTest.cpp

  Log Message:
  -----------
  Use std::is_trivially_copyable

GCC<5 did not support std::is_trivially_copyable. Now LLVM builds require 5.1
we can migrate to std::is_trivially_copyable.


  Commit: 557b00e0afb2dc1776f50948094ca8cc62d97be4
      https://github.com/llvm/llvm-project/commit/557b00e0afb2dc1776f50948094ca8cc62d97be4
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-02 (Wed, 02 Dec 2020)

  Changed paths:
    M llvm/cmake/config-ix.cmake
    M llvm/include/llvm/ADT/PointerIntPair.h
    M llvm/include/llvm/Config/config.h.cmake
    M llvm/include/llvm/Support/type_traits.h
    M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn

  Log Message:
  -----------
  Delete llvm::is_trivially_copyable and CMake variable HAVE_STD_IS_TRIVIALLY_COPYABLE

GCC<5 did not support std::is_trivially_copyable. Now LLVM builds
require 5.1 we can delete llvm::is_trivially_copyable after the users
have been migrated to std::is_trivially_copyable.


Compare: https://github.com/llvm/llvm-project/compare/92475f698ec2...557b00e0afb2


More information about the All-commits mailing list