summaryrefslogtreecommitdiffstats
path: root/clang/docs/Modules.rst
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-06-16 00:20:23 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-06-16 00:20:23 +0000
commitcf18b79ccfb352b265db5ce7330e15cf38bb1e82 (patch)
treee9c87be0fa417a98db35b39d1ad0b3a312c36b27 /clang/docs/Modules.rst
parent3d8fceafe6ed505fee337c184fc0e08c2e41a104 (diff)
downloadbcm5719-llvm-cf18b79ccfb352b265db5ce7330e15cf38bb1e82.tar.gz
bcm5719-llvm-cf18b79ccfb352b265db5ce7330e15cf38bb1e82.zip
[modules] Rename -fmodule-maps to -fimplicit-module-maps (and likewise for
-fno-module-maps). The old names are preserved for compatibility. llvm-svn: 239792
Diffstat (limited to 'clang/docs/Modules.rst')
-rw-r--r--clang/docs/Modules.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/docs/Modules.rst b/clang/docs/Modules.rst
index 4c2b8887a74..5598c09a197 100644
--- a/clang/docs/Modules.rst
+++ b/clang/docs/Modules.rst
@@ -159,7 +159,7 @@ Module maps are specified as separate files (each named ``module.modulemap``) al
To actually see any benefits from modules, one first has to introduce module maps for the underlying C standard library and the libraries and headers on which it depends. The section `Modularizing a Platform`_ describes the steps one must take to write these module maps.
-One can use module maps without modules to check the integrity of the use of header files. To do this, use the ``-fmodule-maps`` option instead of the ``-fmodules`` option.
+One can use module maps without modules to check the integrity of the use of header files. To do this, use the ``-fimplicit-module-maps`` option instead of the ``-fmodules`` option, or use ``-fmodule-map-file=`` option to explicitly specify the module map files to load.
Compilation model
-----------------
@@ -174,8 +174,8 @@ Command-line parameters
``-fmodules``
Enable the modules feature.
-``-fmodule-maps``
- Enable implicit search for module map files named ``module.modulemap`` and similar. This option is implied by ``-fmodules``. If this is disabled, module map files will only be loaded if they are explicitly specified via ``-fmodule-map-file`` or transitively used by another module map file.
+``-fimplicit-module-maps``
+ Enable implicit search for module map files named ``module.modulemap`` and similar. This option is implied by ``-fmodules``. If this is disabled with ``-fno-implicit-module-maps``, module map files will only be loaded if they are explicitly specified via ``-fmodule-map-file`` or transitively used by another module map file.
``-fmodules-cache-path=<directory>``
Specify the path to the modules cache. If not provided, Clang will select a system-appropriate default.
OpenPOWER on IntegriCloud