[all-commits] [llvm/llvm-project] 2dc979: [libc][NFC] Start cleanup of time functions

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Apr 28 15:43:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dc97921afba741586887037763784fc9b19c304
      https://github.com/llvm/llvm-project/commit/2dc97921afba741586887037763784fc9b19c304
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M libc/src/time/asctime.h
    M libc/src/time/asctime_r.h
    M libc/src/time/clock_gettime.cpp
    M libc/src/time/difftime.h
    M libc/src/time/gettimeofday.cpp
    M libc/src/time/gettimeofday.h
    M libc/src/time/gmtime.h
    M libc/src/time/gmtime_r.h
    M libc/src/time/linux/clock.cpp
    M libc/src/time/mktime.h
    M libc/src/time/nanosleep.cpp
    M libc/src/time/nanosleep.h
    M libc/src/time/time_utils.cpp
    M libc/src/time/time_utils.h
    M libc/test/src/time/CMakeLists.txt

  Log Message:
  -----------
  [libc][NFC] Start cleanup of time functions

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.

Reviewed By: sivachandra, rtenneti

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




More information about the All-commits mailing list