[all-commits] [llvm/llvm-project] 622c40: [libc++] Make __weekday_from_days private in weekday

Joseph Loser via All-commits all-commits at lists.llvm.org
Tue Oct 19 11:22:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 622c40722e140239d14a19d1c3b7013de2863fe1
      https://github.com/llvm/llvm-project/commit/622c40722e140239d14a19d1c3b7013de2863fe1
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M libcxx/include/chrono

  Log Message:
  -----------
  [libc++] Make __weekday_from_days private in weekday

`weekday` has a static member function `__weekday_from_days` which is
not part of the mandated public interface of `weeekday` according to the
standard. Since it is only used internally in the constructors of
`weekday`, let's make it private.

Reviewed By: ldionne, Mordante, #libc

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




More information about the All-commits mailing list