diff options
author | Manuel Klimek <klimek@google.com> | 2015-02-20 11:44:41 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2015-02-20 11:44:41 +0000 |
commit | d2e8b04d6111dd6d59bc0cc43dc47a805f7ca606 (patch) | |
tree | f14c0f102d1666216779cd0935edf32a6fa8a8bd /clang/docs/Modules.rst | |
parent | c95f7e2a7cf103597bf5a002f021c24482a9ecea (diff) | |
download | bcm5719-llvm-d2e8b04d6111dd6d59bc0cc43dc47a805f7ca606.tar.gz bcm5719-llvm-d2e8b04d6111dd6d59bc0cc43dc47a805f7ca606.zip |
Add -fno-implicit-modules.
If this flag is set, we error out when a module build is required. This is
useful in environments where all required modules are passed via -fmodule-file.
llvm-svn: 230006
Diffstat (limited to 'clang/docs/Modules.rst')
-rw-r--r-- | clang/docs/Modules.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/Modules.rst b/clang/docs/Modules.rst index 1575ce6964c..1d4c1f46bc5 100644 --- a/clang/docs/Modules.rst +++ b/clang/docs/Modules.rst @@ -210,6 +210,12 @@ Command-line parameters ``-fno-modules-implicit-maps`` Suppresses the implicit search for files called ``module.modulemap`` and similar. Instead, module files need to be explicitly specified via ``-fmodule-map-file`` or transitively used. +``-fno-implicit-modules`` + All modules used by the build must be specified with ``-fmodule-file``. + +``-fmodule-file=<file>`` + Load the given precompiled module file. + Module Semantics ================ |