Skip to content

Commit

Permalink
[docs] [C++20] [Modules] Mark the compatiblity issue within clang-cl.exe
Browse files Browse the repository at this point in the history
See
https://discourse.llvm.org/t/clang-cl-exe-support-for-c-modules/72257
for details. Simply, the user of clang-cl.exe can't get a good
experience with C++20 modules now. While we don't have resources to
support it well now, we should make it clear in the documentation.
  • Loading branch information
ChuanqiXu9 committed Jul 26, 2023
1 parent 2f7ef7b commit 3b48613
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions clang/docs/StandardCPlusPlusModules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,14 @@ Currently, clang requires the file name of an ``importable module unit`` should

This is tracked in: https://github.com/llvm/llvm-project/issues/57416

clang-cl is not compatible with the standard C++ modules
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Now we can't use the `/clang:-fmodule-file` or `/clang:-fprebuilt-module-path` to specify
the BMI within ``clang-cl.exe``.

This is tracked in: https://github.com/llvm/llvm-project/issues/64118

Header Units
============

Expand Down

0 comments on commit 3b48613

Please sign in to comment.