[libc-commits] [libc] change the return value type of mktime_internal to time_t (PR #132231)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Mar 22 18:58:29 PDT 2025


================
@@ -24,13 +24,19 @@
 namespace LIBC_NAMESPACE_DECL {
 namespace time_utils {
 
+
+// store the result of mktime_internal(const tm* )
+struct TMParse {
----------------
jhuber6 wrote:

Something like `MktimeResult` makes it clear without needing a header comment.

https://github.com/llvm/llvm-project/pull/132231


More information about the libc-commits mailing list