From: Chris Lattner Date: Thu, 6 Sep 2007 00:14:09 +0000 (+0000) Subject: remove sorry. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3936c585cc07361a69cdf0c2c66c72f482b39dbe;p=clang remove sorry. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41734 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/TextDiagnosticPrinter.cpp b/Driver/TextDiagnosticPrinter.cpp index ac48e254bc..3a90a4f548 100644 --- a/Driver/TextDiagnosticPrinter.cpp +++ b/Driver/TextDiagnosticPrinter.cpp @@ -165,7 +165,6 @@ void TextDiagnosticPrinter::HandleDiagnostic(Diagnostic::Level Level, case Diagnostic::Warning: std::cerr << "warning: "; break; case Diagnostic::Error: std::cerr << "error: "; break; case Diagnostic::Fatal: std::cerr << "fatal error: "; break; - case Diagnostic::Sorry: std::cerr << "sorry, unimplemented: "; break; } diff --git a/include/clang/Basic/Diagnostic.h b/include/clang/Basic/Diagnostic.h index f879d195b2..9d7188639f 100644 --- a/include/clang/Basic/Diagnostic.h +++ b/include/clang/Basic/Diagnostic.h @@ -116,7 +116,7 @@ public: /// Level - The level of the diagnostic enum Level { - Ignored, Note, Warning, Error, Fatal, Sorry + Ignored, Note, Warning, Error, Fatal }; /// isNoteWarningOrExtension - Return true if the unmapped diagnostic level of