diff options
author | Elad Cohen <elad2.cohen@intel.com> | 2016-10-31 08:21:54 +0000 |
---|---|---|
committer | Elad Cohen <elad2.cohen@intel.com> | 2016-10-31 08:21:54 +0000 |
commit | 780a9183bbdbdde327e06de4b2ef38bb8f511485 (patch) | |
tree | 71a13b11fb30173027b09a622cae1e35bf530bc5 /docs | |
parent | 0308e787c2f2de6521905f5aed7d52918df4db1a (diff) |
[Modules] Add a command line option for loading the clang builtins modulemap.
-fbuiltin-module-map loads the clang builtins modulemap file. (This is
equivalent to -fmodule-map-file=<resource dir>/include/module.modulemap)
Differential Revision: https://reviews.llvm.org/D25767
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285548 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Modules.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/Modules.rst b/docs/Modules.rst index e252c63d27..141d3b8575 100644 --- a/docs/Modules.rst +++ b/docs/Modules.rst @@ -174,6 +174,9 @@ Command-line parameters ``-fmodules`` Enable the modules feature. +``-fbuiltin-module-map`` + Load the Clang builtins module map file. (Equivalent to ``-fmodule-map-file=<resource dir>/include/module.modulemap``) + ``-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. |