MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / PrintTo

Method PrintTo

test/common/gtest/gtest.cpp:2625–2633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2623 }
2624
2625 void PrintTo(std::ostream* os) {
2626 PrintHeader(os);
2627 FlushEdits();
2628 for (std::list<std::pair<char, const char*> >::const_iterator it =
2629 hunk_.begin();
2630 it != hunk_.end(); ++it) {
2631 *os << it->first << it->second << "\n";
2632 }
2633 }
2634
2635 bool has_edits() const { return adds_ || removes_; }
2636

Callers 1

CreateUnifiedDiffFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected