[all-commits] [llvm/llvm-project] 9f3e3e: [libc++][NFC] Refactor __enable_if return types to...

philnik777 via All-commits all-commits at lists.llvm.org
Fri Sep 1 17:52:47 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f3e3efd98a29eb8df9e3ad43a573c9141d1ace2
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

  Changed paths:
    M libcxx/include/__algorithm/iterator_operations.h
    M libcxx/include/__algorithm/sort.h
    M libcxx/include/__condition_variable/condition_variable.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__hash_table
    M libcxx/include/__split_buffer
    M libcxx/include/__tree
    M libcxx/include/array
    M libcxx/include/cmath
    M libcxx/include/forward_list
    M libcxx/include/map
    M libcxx/include/queue
    M libcxx/include/stack
    M libcxx/include/tuple

  Log Message:
  [libc++][NFC] Refactor __enable_if return types to defaulted template parameters

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 depedent return type is shorter.

Reviewed By: #libc, ldionne

Spies: ldionne, libcxx-commits

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

More information about the All-commits mailing list