[cfe-commits] r64770 - /cfe/trunk/lib/Driver/TextDiagnosticBuffer.cpp

Ben Laurie benl at google.com
Tue Feb 17 09:32:22 PST 2009


Author: ben
Date: Tue Feb 17 11:32:22 2009
New Revision: 64770

URL: http://llvm.org/viewvc/llvm-project?rev=64770&view=rev
Log:
Handle fatal errors.

Modified:
    cfe/trunk/lib/Driver/TextDiagnosticBuffer.cpp

Modified: cfe/trunk/lib/Driver/TextDiagnosticBuffer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/TextDiagnosticBuffer.cpp?rev=64770&r1=64769&r2=64770&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/TextDiagnosticBuffer.cpp (original)
+++ cfe/trunk/lib/Driver/TextDiagnosticBuffer.cpp Tue Feb 17 11:32:22 2009
@@ -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;
   }





More information about the cfe-commits mailing list