[cfe-commits] r59879 - in /cfe/trunk: include/clang/Basic/Diagnostic.h lib/Analysis/PathDiagnostic.cpp lib/Driver/TextDiagnosticPrinter.cpp
Chris Lattner
sabre at nondot.org
Sat Nov 22 12:47:38 PST 2008
Author: lattner
Date: Sat Nov 22 14:47:38 2008
New Revision: 59879
URL: http://llvm.org/viewvc/llvm-project?rev=59879&view=rev
Log:
remove a dead enum
Modified:
cfe/trunk/include/clang/Basic/Diagnostic.h
cfe/trunk/lib/Analysis/PathDiagnostic.cpp
cfe/trunk/lib/Driver/TextDiagnosticPrinter.cpp
Modified: cfe/trunk/include/clang/Basic/Diagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.h?rev=59879&r1=59878&r2=59879&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.h Sat Nov 22 14:47:38 2008
@@ -59,7 +59,7 @@
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:
Modified: cfe/trunk/lib/Analysis/PathDiagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/PathDiagnostic.cpp?rev=59879&r1=59878&r2=59879&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/PathDiagnostic.cpp (original)
+++ cfe/trunk/lib/Analysis/PathDiagnostic.cpp Sat Nov 22 14:47:38 2008
@@ -33,7 +33,6 @@
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;
Modified: cfe/trunk/lib/Driver/TextDiagnosticPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/TextDiagnosticPrinter.cpp?rev=59879&r1=59878&r2=59879&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/TextDiagnosticPrinter.cpp (original)
+++ cfe/trunk/lib/Driver/TextDiagnosticPrinter.cpp Sat Nov 22 14:47:38 2008
@@ -139,7 +139,6 @@
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;
More information about the cfe-commits
mailing list