[all-commits] [llvm/llvm-project] 9c0efc: [libc++] Module fixes for __synth_three_way.

Mark de Wever via All-commits all-commits at lists.llvm.org
Fri Apr 7 09:54:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c0efc8a0384df5bd0926e1ee946410cc95962ef
      https://github.com/llvm/llvm-project/commit/9c0efc8a0384df5bd0926e1ee946410cc95962ef
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-04-07 (Fri, 07 Apr 2023)

  Changed paths:
    M libcxx/include/__compare/synth_three_way.h
    M libcxx/include/compare
    M libcxx/include/deque
    M libcxx/include/forward_list
    M libcxx/include/list
    M libcxx/include/map
    M libcxx/utils/data/ignore_format.txt

  Log Message:
  -----------
  [libc++] Module fixes for __synth_three_way.

These changes make it possible to use __synth_three_way in modules. The
change from a lambda to a function is a Clang issue.

The change is list was needed since the compiler couldn't deduce the
comparison template argument.

Adds a few missing includes too.

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list