From 432867c65c539811e0e53cc1021250ce1f5d7853 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 30 May 2017 23:05:23 +0000 Subject: [PATCH] [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 --- docs/Modules.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.40.0