[all-commits] [llvm/llvm-project] 321c2e: [libc++][NFC] Move monostate to its own header.

mordante via All-commits all-commits at lists.llvm.org
Thu Jul 8 08:35:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 321c2ea91cb1aed5dfbbdbb868d525ff64972398
      https://github.com/llvm/llvm-project/commit/321c2ea91cb1aed5dfbbdbb868d525ff64972398
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__variant/monostate.h
    M libcxx/include/module.modulemap
    M libcxx/include/variant

  Log Message:
  -----------
  [libc++][NFC] Move monostate to its own header.

The format library uses `std::monostate`, but not a `std::variant`.
Moving `std::monostate` to its own header allows the format library to
reduce the amount of included code.

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list