From d2e8b04d6111dd6d59bc0cc43dc47a805f7ca606 Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Fri, 20 Feb 2015 11:44:41 +0000 Subject: 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 --- clang/docs/Modules.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'clang/docs/Modules.rst') 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=`` + Load the given precompiled module file. + Module Semantics ================ -- cgit v1.2.1