[clang] e12b627 - [docs] Add the description about mixing use of clang modules and c++

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 31 01:03:37 PDT 2022


Author: Chuanqi Xu
Date: 2022-10-31T16:02:43+08:00
New Revision: e12b627a35ee41e2bee069bf871c8b779f4d4e35

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

LOG: [docs] Add the description about mixing use of clang modules and c++
modules

>From the discussion in
https://discourse.llvm.org/t/how-should-we-support-dependency-scanner-for-c-20-modules/66027,
we get a consensus that we want to support clang modules and c++ modules
at the same time. This patch documents this intention.

Reviewed By: bruno

Differential Revision: https://reviews.llvm.org/D136221

Added: 
    

Modified: 
    clang/docs/StandardCPlusPlusModules.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/StandardCPlusPlusModules.rst b/clang/docs/StandardCPlusPlusModules.rst
index 86ba6f44dbb02..021edbc3dfdff 100644
--- a/clang/docs/StandardCPlusPlusModules.rst
+++ b/clang/docs/StandardCPlusPlusModules.rst
@@ -874,3 +874,10 @@ purposes of optimization (but definitions of these functions are still not inclu
 this means the build speedup at higher optimization levels may be lower than expected given ``O0`` experience, 
 but does provide by more optimization opportunities.
 
+Interoperability with Clang Modules
+-----------------------------------
+
+We **wish** to support clang modules and standard c++ modules at the same time,
+but the mixed using form is not well used/tested yet.
+
+Please file new github issues as you find interoperability problems.


        


More information about the cfe-commits mailing list