forked from OSchip/llvm-project
parent
5118c418e6
commit
bd414e34c2
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue