commit | 09aabe65109389b417b54de5cd2cf1f632140807 | [log] [tgz] |
---|---|---|
author | Ben Laurie <benl@google.com> | Tue Feb 17 17:32:22 2009 +0000 |
committer | Ben Laurie <benl@google.com> | Tue Feb 17 17:32:22 2009 +0000 |
tree | a57d5aa99a45c5f034824e49453b2fd12baa2447 | |
parent | 11c46e239f241786552345829320a2ff45caf949 [diff] [blame] |
Handle fatal errors. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64770 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/TextDiagnosticBuffer.cpp b/lib/Driver/TextDiagnosticBuffer.cpp index 279a6b9..81cd4ec 100644 --- a/lib/Driver/TextDiagnosticBuffer.cpp +++ b/lib/Driver/TextDiagnosticBuffer.cpp
@@ -32,6 +32,7 @@ Warnings.push_back(std::make_pair(Info.getLocation(), Str)); break; case Diagnostic::Error: + case Diagnostic::Fatal: Errors.push_back(std::make_pair(Info.getLocation(), Str)); break; }