[all-commits] [llvm/llvm-project] 1fbfef: [libc] Templatize the scanf Reader interface (#131...

Petr Hosek via All-commits all-commits at lists.llvm.org
Mon Mar 17 23:51:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fbfef9b8ac684483619811d9e90cf8e1f84c6ee
      https://github.com/llvm/llvm-project/commit/1fbfef9b8ac684483619811d9e90cf8e1f84c6ee
  Author: Petr Hosek <phosek at google.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M libc/src/stdio/CMakeLists.txt
    M libc/src/stdio/scanf_core/CMakeLists.txt
    R libc/src/stdio/scanf_core/converter.cpp
    M libc/src/stdio/scanf_core/converter.h
    M libc/src/stdio/scanf_core/current_pos_converter.h
    R libc/src/stdio/scanf_core/float_converter.cpp
    M libc/src/stdio/scanf_core/float_converter.h
    R libc/src/stdio/scanf_core/int_converter.cpp
    M libc/src/stdio/scanf_core/int_converter.h
    R libc/src/stdio/scanf_core/ptr_converter.cpp
    M libc/src/stdio/scanf_core/ptr_converter.h
    M libc/src/stdio/scanf_core/reader.h
    R libc/src/stdio/scanf_core/scanf_main.cpp
    M libc/src/stdio/scanf_core/scanf_main.h
    R libc/src/stdio/scanf_core/string_converter.cpp
    M libc/src/stdio/scanf_core/string_converter.h
    A libc/src/stdio/scanf_core/string_reader.h
    M libc/src/stdio/scanf_core/vfscanf_internal.h
    M libc/src/stdio/sscanf.cpp
    M libc/src/stdio/vsscanf.cpp
    M libc/test/src/stdio/scanf_core/CMakeLists.txt
    M libc/test/src/stdio/scanf_core/converter_test.cpp
    M libc/test/src/stdio/scanf_core/reader_test.cpp

  Log Message:
  -----------
  [libc] Templatize the scanf Reader interface (#131037)

This allows specializing the implementation for different targets
without including unnecessary logic and is similar to #111559 which did
the same for printf Writer interface.



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