diff options
author | Daniel Jasper <djasper@google.com> | 2013-09-24 09:27:13 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-09-24 09:27:13 +0000 |
commit | ca9f73812c998559c53b8215f868152caf68e2cf (patch) | |
tree | 4f73cc4d41580fe4fe0f1577d41911217bc239ae /clang/docs/Modules.rst | |
parent | ba7f2f7110c201e3564e89bd306e058aa9c6b881 (diff) | |
download | bcm5719-llvm-ca9f73812c998559c53b8215f868152caf68e2cf.tar.gz bcm5719-llvm-ca9f73812c998559c53b8215f868152caf68e2cf.zip |
Add -fmodule-map-file option.
With this option, arbitrarily named module map files can be specified
to be loaded as required for headers in the respective (sub)directories.
This, together with the extern module declaration allows for specifying
module maps in a modular fashion without the need for files called
"module.map".
Among other things, this allows a directory to contain two modules that
are completely independent of one another.
Review: http://llvm-reviews.chandlerc.com/D1697.
llvm-svn: 191284
Diffstat (limited to 'clang/docs/Modules.rst')
-rw-r--r-- | clang/docs/Modules.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/docs/Modules.rst b/clang/docs/Modules.rst index 02393d7ba9f..912cdafc8c3 100644 --- a/clang/docs/Modules.rst +++ b/clang/docs/Modules.rst @@ -194,6 +194,9 @@ Command-line parameters ``-fmodule-name=module-id`` Consider a source file as a part of the given module. +``-fmodule-map-file=<file>`` + Load the given module map file if a header from its directory or one of its subdirectories is loaded. + Module Map Language =================== |