[all-commits] [llvm/llvm-project] 69d5a6: [libcxx][modularisation] splits `<utility>` into s...

Christopher Di Bella via All-commits all-commits at lists.llvm.org
Thu Jun 24 17:29:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69d5a6662115499198ebfa07a081e98a6ce4b915
      https://github.com/llvm/llvm-project/commit/69d5a6662115499198ebfa07a081e98a6ce4b915
  Author: Christopher Di Bella <cjdb at google.com>
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__functional/hash.h
    A libcxx/include/__functional/unary_function.h
    A libcxx/include/__functional/unwrap_ref.h
    M libcxx/include/__functional_base
    M libcxx/include/__memory/unique_ptr.h
    M libcxx/include/__tree
    A libcxx/include/__utility/as_const.h
    A libcxx/include/__utility/cmp.h
    A libcxx/include/__utility/exchange.h
    A libcxx/include/__utility/in_place.h
    A libcxx/include/__utility/integer_sequence.h
    A libcxx/include/__utility/pair.h
    A libcxx/include/__utility/piecewise_construct.h
    A libcxx/include/__utility/rel_ops.h
    M libcxx/include/deque
    M libcxx/include/functional
    M libcxx/include/module.modulemap
    M libcxx/include/span
    M libcxx/include/tuple
    M libcxx/include/utility
    M libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/pair.tuple_element.fail.cpp
    M libcxx/test/std/utilities/intseq/intseq.make/make_integer_seq.fail.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/enabled_hash.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/hash_shared_ptr.pass.cpp
    M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/hash_unique_ptr.pass.cpp
    M libcxx/test/std/utilities/type.index/type.index.hash/enabled_hash.pass.cpp
    M libcxx/test/std/utilities/utility/pairs/pair.astuple/tuple_element.fail.cpp
    M libcxx/test/std/utilities/utility/utility.underlying/to_underlying.pass.cpp
    M libcxx/test/support/poisoned_hash_helper.h

  Log Message:
  -----------
  [libcxx][modularisation] splits `<utility>` into self-contained headers

* moves `std::hash` and `std::unary_function` into `__functional`
* Everything else goes into `__utility/${NAME}.h`

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




More information about the All-commits mailing list