This fixes unittest failures reported in D142279:
flang-Unit :: Frontend/./FlangFrontendTests/5/7 flang-Unit :: Frontend/./FlangFrontendTests/6/7
Differential D142671
[flang] Fixed uninitialized std::unique_ptr dereference. vzakhari on Jan 26 2023, 2:19 PM. Authored by
Details
This fixes unittest failures reported in D142279: flang-Unit :: Frontend/./FlangFrontendTests/5/7 flang-Unit :: Frontend/./FlangFrontendTests/6/7
Diff Detail Event Timeline
Comment Actions Sorry, it looks like it went in after an awkward arc invocation for D142652. I was going to wait for the review before merging it. |
How about refactoring this so we don't have to keep repeating ci.isOutputStreamNull() ? *os : ci.getOutputStream()?