CommandLineInterface: Report an error immediately when writing to disk fails

This commit is contained in:
Kamil Śliwak
2021-11-09 18:16:30 +01:00
parent c8380c25bb
commit f50aec9334
2 changed files with 3 additions and 17 deletions
-1
View File
@@ -136,7 +136,6 @@ private:
std::ostream& m_sout;
std::ostream& m_serr;
bool m_hasOutput = false;
bool m_outputFailed = false; ///< If true, creation or write to some of the output files failed.
FileReader m_fileReader;
std::optional<std::string> m_standardJsonInput;
std::unique_ptr<frontend::CompilerStack> m_compiler;