[all-commits] [llvm/llvm-project] 848c70: [libc][NFC] reorganize structs in printf

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Feb 9 13:45:55 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 848c700b66f569adc893518c37d500f80a5412e2
  Author: Michael Jones <michaelrj at google.com>
  Date:   2023-02-09 (Thu, 09 Feb 2023)

  Changed paths:
    M libc/src/stdio/printf_core/core_structs.h
    M libc/src/stdio/printf_core/parser.cpp
    M libc/src/stdio/printf_core/parser.h

  Log Message:
  [libc][NFC] reorganize structs in printf

Previously the type description structs were defined in the parser. For
the fuzzing targets we'll need to use those, so I've moved them into
core_structs.h. Additionally I've renamed the function for determining
the TypeDesc from a given type. Previously it shared its name with
get_type_desc which is a related but separate function that is a part of
the parser.

Reviewed By: lntue

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

More information about the All-commits mailing list