summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-20 16:36:19 +0000
committerDan Gohman <gohman@apple.com>2010-08-20 16:36:19 +0000
commite14426aaca70a2b279fbb44aac7afd45833c96c3 (patch)
treee1a15faa5ac8eb2004bcc0e68a40c3288d1705c6
parentcba5cf6b6b980c42ac2a81ba49f16f8b8f700d58 (diff)
downloadbcm5719-llvm-e14426aaca70a2b279fbb44aac7afd45833c96c3.tar.gz
bcm5719-llvm-e14426aaca70a2b279fbb44aac7afd45833c96c3.zip
Add an inspirational quote.
llvm-svn: 111641
-rw-r--r--llvm/include/llvm/Support/raw_ostream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h
index 3f576df8197..72e38e611ba 100644
--- a/llvm/include/llvm/Support/raw_ostream.h
+++ b/llvm/include/llvm/Support/raw_ostream.h
@@ -382,6 +382,11 @@ public:
/// flag is set at the time when this raw_ostream's destructor is called,
/// report_fatal_error is called to report the error. Use clear_error()
/// after handling the error to avoid this behavior.
+ ///
+ /// "Errors should never pass silently.
+ /// Unless explicitly silenced."
+ /// - from The Zen of Python, by Tim Peters
+ ///
void clear_error() {
Error = false;
}
OpenPOWER on IntegriCloud