[all-commits] [llvm/llvm-project] 8b3515: [libc] Introduces gmtime_r to LLVM libc, based on ...

rtenneti-google via All-commits all-commits at lists.llvm.org
Mon Mar 22 14:04:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b35159ac720fcb9914e4931b416e17b0fbda771
      https://github.com/llvm/llvm-project/commit/8b35159ac720fcb9914e4931b416e17b0fbda771
  Author: Raman Tenneti <rtenneti at google.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M libc/config/linux/api.td
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/time/CMakeLists.txt
    M libc/src/time/gmtime.cpp
    A libc/src/time/gmtime_r.cpp
    A libc/src/time/gmtime_r.h
    M libc/src/time/time_utils.h
    M libc/test/src/time/CMakeLists.txt
    A libc/test/src/time/gmtime_r_test.cpp

  Log Message:
  -----------
  [libc] Introduces gmtime_r to LLVM libc, based on C99/C2X/Single Unix Sp.

gmtime and gmtime_r share the same common code. They call gmtime_internal
a static inline function. Thus added only validation tests for gmtime_r.

Reviewed By: sivachandra

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




More information about the All-commits mailing list