mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 21:41:27 +01:00
Switch Driver back to parameters for construction (#4849)
This is for more complex construction, see #4846
This commit is contained in:
@@ -115,11 +115,8 @@ auto ToolchainFileTest::Run(
|
||||
}
|
||||
}
|
||||
|
||||
Driver driver({.fs = fs,
|
||||
.installation = &installation_,
|
||||
.input_stream = input_stream,
|
||||
.output_stream = &output_stream,
|
||||
.error_stream = &error_stream});
|
||||
Driver driver(fs, &installation_, input_stream, &output_stream,
|
||||
&error_stream);
|
||||
auto driver_result = driver.RunCommand(test_args);
|
||||
// If any diagnostics have been produced, add a trailing newline to make the
|
||||
// last diagnostic match intermediate diagnostics (that have a newline
|
||||
|
||||
Reference in New Issue
Block a user