diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-22 20:47:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-22 20:47:38 +0000 |
commit | 32b939b51b3cc5e4c4d61e31a59aa902de2525b8 (patch) | |
tree | 8bf2a78f57c0c51f8390dc2b42e98ea2267629ad | |
parent | ba8d2d684e74a20bef03828c21c991d222c7e9e5 (diff) |
remove a dead enum
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59879 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/Diagnostic.h | 2 | ||||
-rw-r--r-- | lib/Analysis/PathDiagnostic.cpp | 1 | ||||
-rw-r--r-- | lib/Driver/TextDiagnosticPrinter.cpp | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/Basic/Diagnostic.h b/include/clang/Basic/Diagnostic.h index f782328ffd..f622d785b6 100644 --- a/include/clang/Basic/Diagnostic.h +++ b/include/clang/Basic/Diagnostic.h @@ -59,7 +59,7 @@ class Diagnostic { public: /// Level - The level of the diagnostic, after it has been through mapping. enum Level { - Ignored, Note, Warning, Error, Fatal + Ignored, Note, Warning, Error }; private: diff --git a/lib/Analysis/PathDiagnostic.cpp b/lib/Analysis/PathDiagnostic.cpp index 29ea8c0e37..d25c1b4938 100644 --- a/lib/Analysis/PathDiagnostic.cpp +++ b/lib/Analysis/PathDiagnostic.cpp @@ -33,7 +33,6 @@ void PathDiagnosticClient::HandleDiagnostic(Diagnostic::Level DiagLevel, case Diagnostic::Note: LevelStr = "note: "; break; case Diagnostic::Warning: LevelStr = "warning: "; break; case Diagnostic::Error: LevelStr = "error: "; break; - case Diagnostic::Fatal: LevelStr = "fatal error: "; break; } llvm::SmallString<100> StrC; diff --git a/lib/Driver/TextDiagnosticPrinter.cpp b/lib/Driver/TextDiagnosticPrinter.cpp index b4be9307ea..719c611e2c 100644 --- a/lib/Driver/TextDiagnosticPrinter.cpp +++ b/lib/Driver/TextDiagnosticPrinter.cpp @@ -139,7 +139,6 @@ void TextDiagnosticPrinter::HandleDiagnostic(Diagnostic::Level Level, case Diagnostic::Note: OS << "note: "; break; case Diagnostic::Warning: OS << "warning: "; break; case Diagnostic::Error: OS << "error: "; break; - case Diagnostic::Fatal: OS << "fatal error: "; break; } llvm::SmallString<100> OutStr; |