[libc-commits] [PATCH] D137371: [libc] Fix matching on struct tm

Dominic Chen via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Nov 3 15:40:23 PDT 2022


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

Ensure that struct tm pointer is not nullptr, and verify that all (not any) fields match


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137371

Files:
  libc/test/src/time/TmMatcher.h
  libc/test/src/time/gmtime_r_test.cpp
  libc/test/src/time/gmtime_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137371.473063.patch
Type: text/x-patch
Size: 6732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221103/a9e38548/attachment.bin>


More information about the libc-commits mailing list