From 96802d1602dfde1ba5bca29a78f12d5b6693b8c8 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Sat, 22 Sep 2007 10:03:25 +0000
Subject: Validation fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42229 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/CodingStandards.html | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
(limited to 'docs/CodingStandards.html')
diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html
index f631619..6cfe542 100644
--- a/docs/CodingStandards.html
+++ b/docs/CodingStandards.html
@@ -512,7 +512,8 @@ library. There are two problems with this:
more pressure on the VM system on low-memory machines.
-
+
+
Old Way |
@@ -553,19 +554,21 @@ dump(DOUT);
llvm::StringStream |
- void print(std::ostream &Out);
+ void print(std::ostream &Out);
// ...
print(std::cerr); |
- void print(std::ostream &Out);
+ void print(std::ostream &Out);
void print(std::ostream *Out) { if (Out) print(*Out) }
// ...
print(llvm::cerr);
-N.B. The second print method is called by the print
+
+N.B. The second print method is called by the print
expression. It prevents the execution of the first print method if the
-stream is cnull. |
+stream is cnull. |
|
+
--
cgit v1.1