aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-09-06 00:14:09 +0000
committerChris Lattner <sabre@nondot.org>2007-09-06 00:14:09 +0000
commit3936c585cc07361a69cdf0c2c66c72f482b39dbe (patch)
tree47e30a243473b9342cb1f9b3acc45c53a5a9fc67
parentf28b264437053fb0deacc9ba02b18a0966f7290a (diff)
remove sorry.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41734 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/TextDiagnosticPrinter.cpp1
-rw-r--r--include/clang/Basic/Diagnostic.h2
2 files changed, 1 insertions, 2 deletions
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