Lines Matching full:modules
4 Modules in libc++
7 .. warning:: Modules are an experimental feature. It has additional build
14 There are two kinds of modules available in Clang
16 * `Clang specific modules <https://clang.llvm.org/docs/Modules.html>`_
17 * `C++ modules <https://clang.llvm.org/docs/StandardCPlusPlusModules.html>`_
19 This page mainly discusses the C++ modules. In C++20 there are also header units,
25 The module sources are stored in ``.cppm`` files. Modules need to be available
31 currently ships a CMake project to aid building modules.
71 * Libc++ is not tested with modules instead of headers
82 * Currently the tests only test with modules enabled, but do not import
83 modules instead of headers. When converting tests to using modules there
86 * It has not been determined how to fully test libc++ with modules instead
106 Currently there are two ways to build modules
108 * Use a local build of modules from the build directory. This requires
111 * Use the installed modules. This requires Clang 18.1.2 or later and
158 # Enable modules in CMake
161 # This is required to write your own modules in your project.
174 # Import the modules from libc++
180 URL "file://${LIBCXX_BUILD}/modules/c++/v1/"
223 Using the installed modules
226 CMake has added experimental support for importing the Standard modules. This
228 release. Currently CMake only supports importing the Standard modules in C++23
280 If you have questions about modules feel free to ask them in the ``#libcxx``