[libcxx-commits] [PATCH] D144994: [Draft][libc++][modules] Adds std module.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 1 12:23:05 PST 2023


Mordante updated this revision to Diff 501629.
Mordante added a comment.
Herald added a subscriber: arphaman.

Further experimenting.

This adds a build-time generated CMakeLists.txt to build the module
BMIs. This CMakeLists.txt can be used in the tests and by external
projects.

Adds a format module to test with the experimental library, which
seems to fail. It also allows libc++ to ponder about what we can do
with the synopsis in the future.

Adds some documentation, mainly aiming to point out the current
limitations.

Note this patch is still very much work-in-progress.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144994/new/

https://reviews.llvm.org/D144994

Files:
  libcxx/CMakeLists.txt
  libcxx/docs/Modules.rst
  libcxx/docs/index.rst
  libcxx/stdmodules/.clang-format
  libcxx/stdmodules/CMakeLists.txt
  libcxx/stdmodules/CMakeLists.txt.in
  libcxx/stdmodules/std-coroutine.cppm
  libcxx/stdmodules/std-exception.cppm
  libcxx/stdmodules/std-format.cppm
  libcxx/stdmodules/std-type_traits.cppm
  libcxx/stdmodules/std-utility.cppm
  libcxx/stdmodules/std-vector.cppm
  libcxx/stdmodules/std.cppm
  libcxx/test/configs/cmake-bridge.cfg.in
  libcxx/test/std_modules/language.support/support.coroutines/coroutine.handle/coroutine.handle.capacity/operator_bool.pass.cpp
  libcxx/test/std_modules/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/equal_comp.pass.cpp
  libcxx/test/std_modules/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/less_comp.pass.cpp
  libcxx/test/std_modules/language.support/support.coroutines/coroutine.handle/coroutine.handle.completion/done.pass.cpp
  libcxx/test/std_modules/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/assign.pass.cpp
  libcxx/test/std_modules/language.support/support.coroutines/coroutine.handle/coroutine.handle.con/construct.pass.cpp
  libcxx/test/std_modules/language.support/support.coroutines/end.to.end/await_result.pass.cpp
  libcxx/test/std_modules/language.support/support.coroutines/end.to.end/generator.pass.cpp
  libcxx/test/std_modules/language.support/support.exception/propagation/current_exception.pass.cpp
  libcxx/utils/ci/buildkite-pipeline.yml
  libcxx/utils/libcxx/test/dsl.py
  libcxx/utils/libcxx/test/params.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144994.501629.patch
Type: text/x-patch
Size: 104438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230301/f3967d66/attachment-0001.bin>


More information about the libcxx-commits mailing list