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
diff --git a/clang/docs/Modules.rst b/clang/docs/Modules.rst
index 1575ce69..1d4c1f4 100644
--- a/clang/docs/Modules.rst
+++ b/clang/docs/Modules.rst
@@ -210,6 +210,12 @@
``-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
================