Add -fno-implicit-modules.
authorManuel Klimek <klimek@google.com>
Fri, 20 Feb 2015 11:44:41 +0000 (11:44 +0000)
committerManuel Klimek <klimek@google.com>
Fri, 20 Feb 2015 11:44:41 +0000 (11:44 +0000)
commitd2e8b04d6111dd6d59bc0cc43dc47a805f7ca606
treef14c0f102d1666216779cd0935edf32a6fa8a8bd
parentc95f7e2a7cf103597bf5a002f021c24482a9ecea
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
clang/include/clang/Basic/DiagnosticCommonKinds.td
clang/include/clang/Basic/LangOptions.def
clang/include/clang/Driver/Options.td
clang/lib/Driver/Tools.cpp
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Modules/Inputs/no-implicit-builds/b.h [new file with mode: 0644]
clang/test/Modules/Inputs/no-implicit-builds/b.modulemap [new file with mode: 0644]
clang/test/Modules/no-implicit-builds.cpp [new file with mode: 0644]