[all-commits] [llvm/llvm-project] d5ce68: [libc++] __iterator/readable_traits.h isn't standa...

Ian Anderson via All-commits all-commits at lists.llvm.org
Tue Jun 27 10:52:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5ce68afdf65fd8906d9570c0a71d3557de70838
      https://github.com/llvm/llvm-project/commit/d5ce68afdf65fd8906d9570c0a71d3557de70838
  Author: Ian Anderson <iana at apple.com>
  Date:   2023-06-27 (Tue, 27 Jun 2023)

  Changed paths:
    M libcxx/include/__algorithm/ranges_unique_copy.h
    M libcxx/include/__format/format_functions.h
    M libcxx/include/__format/format_string.h
    M libcxx/include/__format/formatter_output.h
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__format/unicode.h
    M libcxx/include/__iterator/iterator_traits.h
    M libcxx/include/__iterator/readable_traits.h
    M libcxx/include/__memory/ranges_construct_at.h
    M libcxx/include/string_view

  Log Message:
  -----------
  [libc++] __iterator/readable_traits.h isn't standalone

`__iterator/readable_traits.h` can't be used by itself, intantiating `iter_value_t` requires `__iterator/iterator_traits.h`. `readable_traits.h` can't include `iterator_traits.h` though because `iterator_traits.h` requires `readable_traits.h`.

Move `iter_value_t` to `__iterator/iterator_traits.h` so that both headers can work standalone.

Reviewed By: Mordante, #libc

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




More information about the All-commits mailing list