This is an archive of the discontinued LLVM Phabricator instance.

Use dbgs() instead of errs() in docs for DEBUG()
ClosedPublic

Authored by MoritzS on Dec 13 2017, 4:30 AM.

Details

Summary

The examples in llvm/Support/Debug.h use DEBUG(dbgs() << ...) instead of errs(), so the examples in the Programmer's Manual should match that.

Diff Detail

Event Timeline

MoritzS created this revision.Dec 13 2017, 4:30 AM
JDevlieghere accepted this revision.Dec 19 2017, 7:40 AM

Thanks, Moritz!

This revision is now accepted and ready to land.Dec 19 2017, 7:40 AM

PS: Let me know if you need me to commit this for you.

Yes, please commit this.

This revision was automatically updated to reflect the committed changes.