Switch the "no module found" default-fatal warning to a default-fatal error.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138909 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp
index f53d0b0..344e77b 100644
--- a/lib/Frontend/CompilerInstance.cpp
+++ b/lib/Frontend/CompilerInstance.cpp
@@ -645,7 +645,7 @@
/*SearchPath=*/0,
/*RelativePath=*/0);
if (!ModuleFile) {
- getDiagnostics().Report(ModuleNameLoc, diag::warn_module_not_found)
+ getDiagnostics().Report(ModuleNameLoc, diag::err_module_not_found)
<< ModuleName.getName()
<< SourceRange(ImportLoc, ModuleNameLoc);
return 0;