diff --git a/docs/CodingStandards.html b/docs/CodingStandards.html index 5b65fbc637c..97e21fa65cc 100644 --- a/docs/CodingStandards.html +++ b/docs/CodingStandards.html @@ -509,7 +509,7 @@ library. There are two problems with this:
more pressure on the VM system on low-memory machines. -Old Way | @@ -520,8 +520,10 @@ library. There are two problems with this:#include "llvm/Support/Streams.h" |
||
---|---|---|---|
DEBUG(std::cerr << ...); |
- DOUT << ...; |
+ DEBUG(std::cerr << ...); +DEBUG(dump(std::cerr)); |
+ DOUT << ...; +dump(DOUT); |
std::cerr << "Hello world\n"; |
@@ -535,6 +537,12 @@ library. There are two problems with this:
std::cin >> Var; |
llvm::cin >> Var; |
|
N/A | +llvm::cnull >> Var;+
|
+ ||
std::ostream |
llvm::OStream |
@@ -552,9 +560,14 @@ library. There are two problems with this:
// ...
print(std::cerr);
void print(std::ostream &Out); +void print(std::ostream *Out) { if (Out) print(*Out) } // ... -print(*llvm::cerr.stream()); |
-