summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-30 23:05:23 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-30 23:05:23 +0000
commit432867c65c539811e0e53cc1021250ce1f5d7853 (patch)
tree9a1249cc2c68d68a04cf059b9d8af68f0be9c1e0 /docs
parentb130b1d396c98ca0ab15493e796fb1101ad8d8a4 (diff)
[modules] Minor documentation clarification for behavior of requires-declaration.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/Modules.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Modules.rst b/docs/Modules.rst
index b8841c0a5c..7bd2adf8af 100644
--- a/docs/Modules.rst
+++ b/docs/Modules.rst
@@ -403,7 +403,7 @@ A *requires-declaration* specifies the requirements that an importing translatio
*feature*:
``!``:sub:`opt` *identifier*
-The requirements clause allows specific modules or submodules to specify that they are only accessible with certain language dialects or on certain platforms. The feature list is a set of identifiers, defined below. If any of the features is not available in a given translation unit, that translation unit shall not import the module. The optional ``!`` indicates that a feature is incompatible with the module.
+The requirements clause allows specific modules or submodules to specify that they are only accessible with certain language dialects or on certain platforms. The feature list is a set of identifiers, defined below. If any of the features is not available in a given translation unit, that translation unit shall not import the module. When building a module for use by a compilation, submodules requiring unavailable features are ignored. The optional ``!`` indicates that a feature is incompatible with the module.
The following features are defined: