remove a dead enum

llvm-svn: 59879
This commit is contained in:
Chris Lattner 2008-11-22 20:47:38 +00:00
parent 5118c418e6
commit bd414e34c2
3 changed files with 1 additions and 3 deletions

View File

@ -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:

View File

@ -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;

View File

@ -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;