]> granicus.if.org Git - clang/commitdiff
Minor cleanups to address feedback from Bruno. NFC
authorDouglas Gregor <dgregor@apple.com>
Thu, 14 Sep 2017 23:40:51 +0000 (23:40 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 14 Sep 2017 23:40:51 +0000 (23:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313318 91177308-0d34-0410-b5e6-96231b3b80d8

docs/Modules.rst
lib/Serialization/ASTWriter.cpp

index 6dde22c237e7329dca2456bfd9f1bedb623e653f..431bad1beb0ad93db397c4176df8c23fc253fe3d 100644 (file)
@@ -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::
 
index 063d6f46e34cadddf3220d2c4b1230beda36e7a1..4c22067b8305b9b4d9b48226728283566e2169a9 100644 (file)
@@ -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),