Page MenuHomePhabricator

[lldb][NFC] Overload raw_ostream operator << for ConstString

Authored by teemperor on Wed, May 20, 10:05 AM.



We are not doing this very often, but sometimes it's convenient when I can just << ConstStrings into llvm::errs() during testing.

Diff Detail

Event Timeline

teemperor created this revision.Wed, May 20, 10:05 AM
JDevlieghere accepted this revision.Wed, May 20, 10:50 AM

Makes sense

This revision is now accepted and ready to land.Wed, May 20, 10:50 AM
labath accepted this revision.Wed, May 20, 11:35 PM

As we start using raw_ostreams more, we'll probably also want to do this more often. So, lgtm.


I believe a decision was made a while back to pass around ConstStrings as values.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFri, May 22, 2:25 AM