This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Make __weekday_from_days private in weekday
ClosedPublic

Authored by jloser on Oct 19 2021, 6:48 AM.

Details

Summary

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.

Diff Detail

Event Timeline

jloser requested review of this revision.Oct 19 2021, 6:48 AM
jloser created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2021, 6:48 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Oct 19 2021, 11:09 AM
This revision is now accepted and ready to land.Oct 19 2021, 11:09 AM