[PATCH] D134105: [Docs] Add a link that refers to C++ standard modules in Clang modules doc
Jun Zhang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 18 03:32:44 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG303526ef3aa2: [Docs] Add a link that refers to C++ standard modules in Clang modules doc (authored by junaire).
Changed prior to commit:
https://reviews.llvm.org/D134105?vs=461040&id=461058#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134105/new/
https://reviews.llvm.org/D134105
Files:
clang/docs/Modules.rst
Index: clang/docs/Modules.rst
===================================================================
--- clang/docs/Modules.rst
+++ clang/docs/Modules.rst
@@ -102,6 +102,11 @@
=============
To enable modules, pass the command-line flag ``-fmodules``. This will make any modules-enabled software libraries available as modules as well as introducing any modules-specific syntax. Additional `command-line parameters`_ are described in a separate section later.
+Standard C++ Modules
+--------------------
+.. note::
+ Modules are adopted into C++20 Standard. And its semantic and command line interface are very different from the Clang C++ modules. See `StandardCPlusPlusModules <StandardCPlusPlusModules.html>`_ for details.
+
Objective-C Import declaration
------------------------------
Objective-C provides syntax for importing a module via an *@import declaration*, which imports the named module:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134105.461058.patch
Type: text/x-patch
Size: 907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220918/50bbc08d/attachment.bin>
More information about the cfe-commits
mailing list