[llvm-commits] [llvm] r111641 - /llvm/trunk/include/llvm/Support/raw_ostream.h
Dan Gohman
gohman at apple.com
Fri Aug 20 09:36:19 PDT 2010
Author: djg
Date: Fri Aug 20 11:36:19 2010
New Revision: 111641
URL: http://llvm.org/viewvc/llvm-project?rev=111641&view=rev
Log:
Add an inspirational quote.
Modified:
llvm/trunk/include/llvm/Support/raw_ostream.h
Modified: llvm/trunk/include/llvm/Support/raw_ostream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/raw_ostream.h?rev=111641&r1=111640&r2=111641&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/raw_ostream.h (original)
+++ llvm/trunk/include/llvm/Support/raw_ostream.h Fri Aug 20 11:36:19 2010
@@ -382,6 +382,11 @@
/// 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;
}
More information about the llvm-commits
mailing list