[LLVMdev] [LLVMDev] Using dbgs()

Bill Wendling wendling at apple.com
Sat Sep 4 15:24:34 PDT 2010


On Sep 4, 2010, at 2:15 PM, Jeff Kunkel wrote:

> When using "DEBUG( dbgs() << "whatever" );" Do I need to insert a line
> terminator. Like "DEBUG( dbgs() << "whatever" << std::endl );"
> 
Yes. Though the "llvm-way" is to use a newline ("whatever\n") instead of std::endl.

-bw





More information about the llvm-dev mailing list