aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Basic/Diagnostic.cpp2
-rw-r--r--include/clang/Basic/DiagnosticKinds.def1
2 files changed, 0 insertions, 3 deletions
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