[all-commits] [llvm/llvm-project] 00f5aa: [libc]: Clean up unnecessary function pointers in ...

Vinay Deshmukh via All-commits all-commits at lists.llvm.org
Thu Feb 20 10:08:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00f5aaf841cbd6e2df9158538e36d66632af9cd5
      https://github.com/llvm/llvm-project/commit/00f5aaf841cbd6e2df9158538e36d66632af9cd5
  Author: Vinay Deshmukh <32487576+vinay-deshmukh at users.noreply.github.com>
  Date:   2025-02-20 (Thu, 20 Feb 2025)

  Changed paths:
    M libc/src/stdio/scanf_core/CMakeLists.txt
    R libc/src/stdio/scanf_core/reader.cpp
    M libc/src/stdio/scanf_core/reader.h
    M libc/src/stdio/scanf_core/vfscanf_internal.h

  Log Message:
  -----------
  [libc]: Clean up unnecessary function pointers in scanf (#121215)

Resolves #115394

1. Move definitions of cross-platform `getc` `ungetc` to `reader.h`.
2. Remove function pointer members to define them once per platform in
`.h`
3. Built in overlay mode in macOS m1
4. Remove `reader.cpp` as it's empty now


Also, full build doesn't yet build on macos m1 AFAIK



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