[libc-commits] [libc] change the return value type of mktime_internal to time_t (PR #132231)
Mikhail R. Gadelha via libc-commits
libc-commits at lists.llvm.org
Sat Mar 22 08:05:07 PDT 2025
================
@@ -18,29 +18,32 @@ namespace LIBC_NAMESPACE_DECL {
namespace time_utils {
// TODO: clean this up in a followup patch
-int64_t mktime_internal(const tm *tm_out) {
+TMParse mktime_internal(const tm *tm_out) {
----------------
mikhailramalho wrote:
Maybe returning an optional here is cleaner?
https://github.com/llvm/llvm-project/pull/132231
More information about the libc-commits
mailing list