[libc-commits] [PATCH] D96684: Changes to mktime to handle invalid dates, overflow and underflow andcalculating the correct date and thenumber of seconds even if invalid datesare passed as arguments.

Raman Tenneti via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Feb 17 23:50:45 PST 2021


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

Made OutOfRange a static inline.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96684

Files:
  libc/src/time/CMakeLists.txt
  libc/src/time/mktime.cpp
  libc/src/time/mktime.h
  libc/src/time/time_utils.h
  libc/test/src/time/CMakeLists.txt
  libc/test/src/time/TmMatcher.h
  libc/test/src/time/mktime_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96684.324541.patch
Type: text/x-patch
Size: 39110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210218/2a787800/attachment-0001.bin>


More information about the libc-commits mailing list