aboutsummaryrefslogtreecommitdiff
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
commit00d1cdeca9d718d2eb51859800cf66a9d5e386ca (patch)
tree3ad73624e9b06326a54f2e0850986b6fdd8e8447
parent27f7aad50b93f02e81f7875dba09a5a1020431e6 (diff)
Add an inspirational quote.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111641 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/raw_ostream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index 3f576df819..72e38e611b 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/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;
}