[clang] be72dca - [docs] [C++20] [Modules] Mentioning that -fdelayed-template-parsing is not working with modules

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 15 19:38:48 PDT 2023


Author: Chuanqi Xu
Date: 2023-10-16T10:38:33+08:00
New Revision: be72dca5e3ab3301e6927aca1c0823e382519bb3

URL: https://github.com/llvm/llvm-project/commit/be72dca5e3ab3301e6927aca1c0823e382519bb3
DIFF: https://github.com/llvm/llvm-project/commit/be72dca5e3ab3301e6927aca1c0823e382519bb3.diff

LOG: [docs] [C++20] [Modules] Mentioning that -fdelayed-template-parsing is not working with modules

Catched in https://github.com/llvm/llvm-project/issues/61068.

Add this to the document to avoid further misunderstandings.

Added: 
    

Modified: 
    clang/docs/StandardCPlusPlusModules.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/StandardCPlusPlusModules.rst b/clang/docs/StandardCPlusPlusModules.rst
index 579431bd9aa3273..8dd86edc64a80ab 100644
--- a/clang/docs/StandardCPlusPlusModules.rst
+++ b/clang/docs/StandardCPlusPlusModules.rst
@@ -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
 ============
 


        


More information about the cfe-commits mailing list