[all-commits] [llvm/llvm-project] 9e421a: [libc] clean up printf error codes

michaelrj-google via All-commits all-commits at lists.llvm.org
Mon Jul 11 16:50:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e421a1633247d5e113a55159f5ee3dde009d82d
      https://github.com/llvm/llvm-project/commit/9e421a1633247d5e113a55159f5ee3dde009d82d
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/char_converter.h
    M libc/src/stdio/printf_core/core_structs.h
    M libc/src/stdio/printf_core/file_writer.cpp
    M libc/src/stdio/printf_core/float_hex_converter.h
    M libc/src/stdio/printf_core/hex_converter.h
    M libc/src/stdio/printf_core/int_converter.h
    M libc/src/stdio/printf_core/oct_converter.h
    M libc/src/stdio/printf_core/ptr_converter.h
    M libc/src/stdio/printf_core/string_converter.h
    M libc/src/stdio/printf_core/string_writer.cpp
    M libc/src/stdio/printf_core/write_int_converter.h

  Log Message:
  -----------
  [libc] clean up printf error codes

Move the constants for printf's return values into core_structs, and
update the converters to match.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D128767




More information about the All-commits mailing list