mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-25 21:11:25 +00:00
[Docs] Add a link that refers to C++ standard modules in Clang modules doc
Currently there're two pages that both talk about "Modules" in clang, but they're different. The one that describes C++ standard modules explicitly spells out the difference but the other one which targeting Clang modules doesn't. This patch adds a link that refers to the C++ standard modules one in Clang modules doc, as you usually got the later page when googling. I believe this will make newcomers less confused. Signed-off-by: Jun Zhang <jun@junz.org> Differential Revision: https://reviews.llvm.org/D134105
This commit is contained in:
parent
490de4ab47
commit
303526ef3a
@ -102,6 +102,11 @@ Using Modules
|
||||
=============
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user