Skip to content

Files

This branch is 2223 commits ahead of, 8438 commits behind llvm/clangir:main.

modules

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 6, 2024
Nov 6, 2024
Jun 15, 2023
Aug 28, 2024
Jun 25, 2024
Aug 9, 2023
Feb 27, 2024
Nov 6, 2024
Nov 6, 2024

The "module partitions" for the std module

The files in this directory contain the exported named declarations per header. These files are used for the following purposes:

  • During testing exported named declarations are tested against the named declarations in the associated header. This excludes reserved names; they are not exported.
  • Generate the module std.

These use cases require including the required headers for these "partitions" at different locations. This means the user of these "partitions" are responsible for including the proper header and validating whether the header can be loaded in the current libc++ configuration. For example "include " fails when locales are not available. The "partitions" use the libc++ feature macros to export the declarations available in the current configuration. This configuration is available if the user includes the `__config' header.

We use .inc files that we include from the top-level module instead of using real C++ module partitions. This is a lot faster than module partitions, see this for details.