From: Chris Lattner Date: Thu, 6 Sep 2007 00:16:35 +0000 (+0000) Subject: remove the FATAL classifier. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3a031f47d87cb9925cf8d28eaa26dc81a5dde50;p=clang remove the FATAL classifier. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41736 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Basic/Diagnostic.cpp b/Basic/Diagnostic.cpp index 155b6fca12..bef3033af2 100644 --- a/Basic/Diagnostic.cpp +++ b/Basic/Diagnostic.cpp @@ -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; } } diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def index 9ccfe6390e..5009fa724e 100644 --- a/include/clang/Basic/DiagnosticKinds.def +++ b/include/clang/Basic/DiagnosticKinds.def @@ -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