================ @@ -420,6 +420,8 @@ struct UnwrappedLineNode { SmallVector<UnwrappedLine, 0> Children; }; +std::ostream &operator<<(std::ostream &Stream, const UnwrappedLine &Line); + ---------------- r4nt wrote:
I intentionally put this there, as otherwise the errors we get from the tests are useless. With the operator, the gtest matchers nicely output the expected and actual lines, and it's easy to see what's different. https://github.com/llvm/llvm-project/pull/82523 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits