aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-31 21:52:21 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-31 21:52:21 +0000
commite082af17d4b425a49f7f8bccc2a99810f0072828 (patch)
tree54abee613c0df6d17d2f4226fbff21876f965a9a /lib/Frontend/CompilerInstance.cpp
parent819e74544a326b90d13aa73e6497b187c6545ff5 (diff)
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
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r--lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp
index f53d0b064c..344e77b63b 100644
--- a/lib/Frontend/CompilerInstance.cpp
+++ b/lib/Frontend/CompilerInstance.cpp
@@ -645,7 +645,7 @@ ModuleKey CompilerInstance::loadModule(SourceLocation ImportLoc,
/*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;