summaryrefslogtreecommitdiffstats
path: root/clang/docs/Modules.rst
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2017-09-14 23:40:51 +0000
committerDouglas Gregor <dgregor@apple.com>2017-09-14 23:40:51 +0000
commitbadae3ff04b29d299f636d927d57f9678af58b0c (patch)
treec4385b9e579a06c7ce614198ed37436f29a83957 /clang/docs/Modules.rst
parent39cabf65ea5d59970b37def3c74edc7e6f2db0e2 (diff)
downloadbcm5719-llvm-badae3ff04b29d299f636d927d57f9678af58b0c.tar.gz
bcm5719-llvm-badae3ff04b29d299f636d927d57f9678af58b0c.zip
Minor cleanups to address feedback from Bruno. NFC
llvm-svn: 313318
Diffstat (limited to 'clang/docs/Modules.rst')
-rw-r--r--clang/docs/Modules.rst15
1 files changed, 7 insertions, 8 deletions
diff --git a/clang/docs/Modules.rst b/clang/docs/Modules.rst
index 6dde22c237e..431bad1beb0 100644
--- a/clang/docs/Modules.rst
+++ b/clang/docs/Modules.rst
@@ -670,22 +670,21 @@ Note that, if ``Derived.h`` includes ``Base.h``, one can simply use a wildcard e
Re-export Declaration
~~~~~~~~~~~~~~~~~~
-An *export-as-declaration* specifies that the current module is a private
-module whose interface will be re-exported by the named public module.
+An *export-as-declaration* specifies that the current module will have
+its interface re-exported by the named module.
.. parsed-literal::
*export-as-declaration*:
``export_as`` *identifier*
-The *export-as-declaration* names the public module that the current
-(private) module will be re-exported through. Only top-level modules
+The *export-as-declaration* names the module that the current
+module will be re-exported through. Only top-level modules
can be re-exported, and any given module may only be re-exported
-through a single public module.
+through a single module.
-**Example:** In the following example, the (private) module
-``MyFrameworkCore`` will be re-exported via the public module
-``MyFramework``:
+**Example:** In the following example, the module ``MyFrameworkCore``
+will be re-exported via the module ``MyFramework``:
.. parsed-literal::
OpenPOWER on IntegriCloud