[libc-commits] [PATCH] D149487: [libc][NFC] Start cleanup of time functions

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Apr 28 14:49:47 PDT 2023


michaelrj created this revision.
michaelrj added reviewers: sivachandra, rtenneti.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

The time functions have not yet been updated to match our new coding
patterns. This patch removes some unnecessary includes, adjusts the
names of the test targets, and adds several TODO comments. It is my
intention to follow this patch up with additional cleanup.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149487

Files:
  libc/include/llvm-libc-types/time_t.h
  libc/src/time/asctime.h
  libc/src/time/asctime_r.h
  libc/src/time/clock_gettime.cpp
  libc/src/time/difftime.h
  libc/src/time/gettimeofday.cpp
  libc/src/time/gettimeofday.h
  libc/src/time/gmtime.h
  libc/src/time/gmtime_r.h
  libc/src/time/linux/clock.cpp
  libc/src/time/mktime.h
  libc/src/time/nanosleep.cpp
  libc/src/time/nanosleep.h
  libc/src/time/time_utils.cpp
  libc/src/time/time_utils.h
  libc/test/src/time/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149487.518061.patch
Type: text/x-patch
Size: 10482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230428/2823b6bf/attachment.bin>


More information about the libc-commits mailing list