From e12b627a35ee41e2bee069bf871c8b779f4d4e35 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Mon, 24 Oct 2022 11:00:03 +0800 Subject: [PATCH] [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 --- clang/docs/StandardCPlusPlusModules.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/clang/docs/StandardCPlusPlusModules.rst b/clang/docs/StandardCPlusPlusModules.rst index 86ba6f4..021edbc 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. -- 2.7.4