]> granicus.if.org Git - clang/commitdiff
remove the FATAL classifier.
authorChris Lattner <sabre@nondot.org>
Thu, 6 Sep 2007 00:16:35 +0000 (00:16 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 6 Sep 2007 00:16:35 +0000 (00:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41736 91177308-0d34-0410-b5e6-96231b3b80d8

Basic/Diagnostic.cpp
include/clang/Basic/DiagnosticKinds.def

index 155b6fca12462aea58dcd409701c2fe3d0eff84e..bef3033af294b5bf3414717b944cea690f4c88e0 100644 (file)
@@ -23,7 +23,6 @@ enum {
   WARNING    = 0x02,
   EXTENSION  = 0x03,
   ERROR      = 0x04,
-  FATAL      = 0x05,
   class_mask = 0x07
 };
 
@@ -112,7 +111,6 @@ Diagnostic::Level Diagnostic::getDiagnosticLevel(unsigned DiagID) const {
   case NOTE:        return Diagnostic::Note;
   case WARNING:     return Diagnostic::Warning;
   case ERROR:       return Diagnostic::Error;
-  case FATAL:       return Diagnostic::Fatal;
   }
 }
 
index 9ccfe6390e8c40bba07ca9d3394c3f399c108b02..5009fa724eed48cacd2062ea20a19f60bd9c462b 100644 (file)
@@ -18,7 +18,6 @@
 //     WARNING   - Warning.
 //     EXTENSION - Notification that an extension to the language is being used.
 //     ERROR     - Error, compilation will stop after parsing completes.
-//     FATAL     - Fatal error: parsing must stop.
 
 //===----------------------------------------------------------------------===//
 // Portability