Minor cleanups to address feedback from Bruno. NFC
llvm-svn: 313318
This commit is contained in:
parent
39cabf65ea
commit
badae3ff04
|
@ -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::
|
||||
|
||||
|
|
|
@ -2797,7 +2797,6 @@ void ASTWriter::WriteSubmodules(Module *WritingModule) {
|
|||
Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Macro name
|
||||
unsigned ExportAsAbbrev = Stream.EmitAbbrev(std::move(Abbrev));
|
||||
|
||||
|
||||
// Write the submodule metadata block.
|
||||
RecordData::value_type Record[] = {
|
||||
getNumberOfModules(WritingModule),
|
||||
|
|
Loading…
Reference in New Issue