Skip to content

Commit

Permalink
[docs] [C++20] [Modules] Mentioning that -fdelayed-template-parsing i…
Browse files Browse the repository at this point in the history
…s not working with modules

Catched in #61068.

Add this to the document to avoid further misunderstandings.
  • Loading branch information
ChuanqiXu9 committed Oct 16, 2023
1 parent 6121b90 commit be72dca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions clang/docs/StandardCPlusPlusModules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,15 @@ the BMI within ``clang-cl.exe``.

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

delayed template parsing is not supported/broken with C++ modules
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The feature `-fdelayed-template-parsing` can't work well with C++ modules now.
Note that this is significant on Windows since the option will be enabled by default
on Windows.

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

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

Expand Down

0 comments on commit be72dca

Please sign in to comment.