[all-commits] [llvm/llvm-project] 398f86: [libc] Implement strftime (#122556)

Michael Jones via All-commits all-commits at lists.llvm.org
Fri Feb 14 15:57:17 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 398f865499e6d7c35df2496cdff29ed0239423de
      https://github.com/llvm/llvm-project/commit/398f865499e6d7c35df2496cdff29ed0239423de
  Author: Michael Jones <michaelrj at google.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/docs/dev/undefined_behavior.rst
    M libc/include/time.yaml
    M libc/src/time/CMakeLists.txt
    A libc/src/time/strftime.cpp
    A libc/src/time/strftime.h
    A libc/src/time/strftime_core/CMakeLists.txt
    A libc/src/time/strftime_core/composite_converter.h
    A libc/src/time/strftime_core/converter.cpp
    A libc/src/time/strftime_core/converter.h
    A libc/src/time/strftime_core/core_structs.h
    A libc/src/time/strftime_core/num_converter.h
    A libc/src/time/strftime_core/parser.h
    A libc/src/time/strftime_core/str_converter.h
    A libc/src/time/strftime_core/strftime_main.cpp
    A libc/src/time/strftime_core/strftime_main.h
    M libc/src/time/time_constants.h
    M libc/test/src/time/CMakeLists.txt
    A libc/test/src/time/strftime_test.cpp

  Log Message:
  -----------
  [libc] Implement strftime (#122556)

Implements the posix-specified strftime conversions for the default
locale, along with comprehensive unit tests. This reuses a lot of design
from printf, as well as the printf writer.

Roughly based on #111305, but with major rewrites.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list