[LLVMdev] #include <iostream>
Bill Wendling
isanbard at gmail.com
Fri Dec 8 00:29:23 PST 2006
On Dec 7, 2006, at 5:35 PM, Chris Lattner wrote:
> On Thu, 7 Dec 2006, Bill Wendling wrote:
>
>> With the newest patches to LLVM, there should be no reason for having
>> "#include <iostream>" in any library source code file, except for
>> lib/
>> Support/Streams.cpp. Please use the following instead:
>>
>> OLD NEW
>> --- ---
>> std::ostream llvm::OStream
>> std::istream llvm::IStream
>> std::cerr llvm::cerr
>> std::cerr llvm::cout
>> std::cin llvm::cin
>
> Nice! Can you add this to the coding standard guide when you get a
> chance?
>
Okay. :-)
-bw
More information about the llvm-dev
mailing list