]> granicus.if.org Git - clang/commitdiff
remove sorry.
authorChris Lattner <sabre@nondot.org>
Thu, 6 Sep 2007 00:14:09 +0000 (00:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 6 Sep 2007 00:14:09 +0000 (00:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41734 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/TextDiagnosticPrinter.cpp
include/clang/Basic/Diagnostic.h

index ac48e254bc02dde43c6257487c4319621d727d41..3a90a4f54851592b26afeab20a75b952ce125f9d 100644 (file)
@@ -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;
   }
   
index f879d195b2db244504c367add4dde8cb8e82d3ad..9d7188639f54011f1fe463b4cb54c0a715c08030 100644 (file)
@@ -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