[libc-commits] [PATCH] D136562: [libc] Add implementation of difftime function.

Raman Tenneti via Phabricator via libc-commits libc-commits at lists.llvm.org
Sun Oct 23 13:20:47 PDT 2022


rtenneti updated this revision to Diff 470005.
rtenneti added a comment.

Updated doc and fixed formatting issues.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136562/new/

https://reviews.llvm.org/D136562

Files:
  libc/docs/date_and_time.rst
  libc/src/time/difftime.cpp
  libc/src/time/difftime.h


Index: libc/src/time/difftime.h
===================================================================
--- libc/src/time/difftime.h
+++ libc/src/time/difftime.h
@@ -1,5 +1,4 @@
-//===-- Implementation header of difftime -------------------------*- C++
-//-*-===//
+//===-- Implementation header of difftime -----------------------*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
Index: libc/src/time/difftime.cpp
===================================================================
--- libc/src/time/difftime.cpp
+++ libc/src/time/difftime.cpp
@@ -1,5 +1,4 @@
-//===-- Implementation of difftime function
-//---------------------------------===//
+//===-- Implementation of difftime function -------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
Index: libc/docs/date_and_time.rst
===================================================================
--- libc/docs/date_and_time.rst
+++ libc/docs/date_and_time.rst
@@ -41,7 +41,7 @@
 clock_settime
 ctime
 ctime_r
-difftime
+difftime              |check|
 getdate
 gmtime                |check|
 gmtime_r              |check|


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136562.470005.patch
Type: text/x-patch
Size: 1316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221023/04f3e475/attachment.bin>


More information about the libc-commits mailing list