[all-commits] [llvm/llvm-project] d83271: [libc] Include algorithm.h to parser.h (#87125)

Caslyn Tonelli via All-commits all-commits at lists.llvm.org
Mon Apr 1 09:52:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d83271b093ec206c2f47a9c636a5727cf63cad5e
      https://github.com/llvm/llvm-project/commit/d83271b093ec206c2f47a9c636a5727cf63cad5e
  Author: Caslyn Tonelli <6718161+Caslyn at users.noreply.github.com>
  Date:   2024-04-01 (Mon, 01 Apr 2024)

  Changed paths:
    M libc/src/stdio/printf_core/CMakeLists.txt
    M libc/src/stdio/printf_core/parser.h
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] Include algorithm.h to parser.h (#87125)

This includes algorithm.h directly to provide the definition for
`cpp:max` in parser.h. This will define `max(...)` in the libc namespace
for build systems that pull in parser.h explicitly.



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