[all-commits] [llvm/llvm-project] ebd2ed: [libc++][Modules] std.functional.__functional.invo...

Ian Anderson via All-commits all-commits at lists.llvm.org
Mon Jul 3 14:00:13 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ebd2ed2aa88d582aff553e7fbab513d9dad9d0aa
  Author: Ian Anderson <iana at apple.com>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M libcxx/include/module.modulemap.in

  Log Message:
  [libc++][Modules] std.functional.__functional.invoke and std.type_traits.underlying_type can't export std.type_traits

`__functional/invoke.h` currently only includes `__type_traits/invoke.h` and not all of `type_traits`. Keep it using the specific header, and update its export. Similarly, `__type_traits/underlying_type.h` currently only includes `__type_traits/is_enum.h`, so update its export as well. This requires adding lots of export statements to the module map to keep the transitive includes working. Adding direct includes to the headers fixes `check-cxx`, but leaves many `run-buildbot generic-modules` tests failing, some even with linker errors.

Reviewed By: ldionne, #libc

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

More information about the All-commits mailing list