[all-commits] [llvm/llvm-project] 4da76e: [libc++][NFC] Refactor enable_ifs in defaulted arg...

philnik777 via All-commits all-commits at lists.llvm.org
Fri Aug 18 13:08:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4da76ea70ad3d225d495703efca9b2f56bdefbf6
      https://github.com/llvm/llvm-project/commit/4da76ea70ad3d225d495703efca9b2f56bdefbf6
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M libcxx/include/__chrono/duration.h
    M libcxx/include/__chrono/time_point.h
    M libcxx/include/__iterator/wrap_iter.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__memory/unique_ptr.h
    M libcxx/include/__random/discard_block_engine.h
    M libcxx/include/__random/independent_bits_engine.h
    M libcxx/include/__random/linear_congruential_engine.h
    M libcxx/include/__random/mersenne_twister_engine.h
    M libcxx/include/__random/shuffle_order_engine.h
    M libcxx/include/__random/subtract_with_carry_engine.h
    M libcxx/include/__system_error/error_code.h
    M libcxx/include/__system_error/error_condition.h
    M libcxx/include/deque
    M libcxx/include/vector

  Log Message:
  -----------
  [libc++][NFC] Refactor enable_ifs in defaulted arguments to defaulted template arguments

This brings most of the enable_ifs in libc++ to the same style. It also has the nice side-effect of reducing the size of names of these symbols, since the arguments don't get mangled anymore.

Reviewed By: #libc, Mordante

Spies: Mordante, libcxx-commits

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




More information about the All-commits mailing list