[all-commits] [llvm/llvm-project] 355f46: [libc++][NFC] Add __element_count and use it in th...

philnik777 via All-commits all-commits at lists.llvm.org
Mon Jun 5 15:08:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 355f4667446bf3ef38d3b52485b64d1a71a47507
      https://github.com/llvm/llvm-project/commit/355f4667446bf3ef38d3b52485b64d1a71a47507
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2023-06-05 (Mon, 05 Jun 2023)

  Changed paths:
    M libcxx/include/__algorithm/equal.h
    M libcxx/include/__string/char_traits.h
    M libcxx/include/__string/constexpr_c_functions.h
    M libcxx/test/libcxx/strings/c.strings/constexpr.cstring.compile.pass.cpp

  Log Message:
  -----------
  [libc++][NFC] Add __element_count and use it in the constexpr C functions

This makes it less ambiguous what the parameter is meant to get.

Reviewed By: #libc, ldionne

Spies: ldionne, libcxx-commits

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




More information about the All-commits mailing list