[libc-commits] [libc] change the return value type of mktime_internal to time_t (PR #132231)
via libc-commits
libc-commits at lists.llvm.org
Sat Mar 22 20:22:28 PDT 2025
================
@@ -24,13 +24,19 @@
namespace LIBC_NAMESPACE_DECL {
namespace time_utils {
+
+// store the result of mktime_internal(const tm* )
+struct TMParse {
----------------
wsehjk wrote:
I can change the struct name, but @mikhailramalho suggests using cpp::optional, it seems more reasonable. I don't know which one I should go with.
https://github.com/llvm/llvm-project/pull/132231
More information about the libc-commits
mailing list