mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[driver] Standardized the names of output-specifying options for secondary outputs.
The new format is "-<option>" and "-<option>-path". As a result: - Renamed -serialized-diagnostics-path to -serialize-diagnostics-path. - Renamed -module-output-path to -emit-module-path. Swift SVN r12614
This commit is contained in:
@@ -162,7 +162,7 @@ Job *Swift::constructJob(const JobAction &JA, std::unique_ptr<JobList> Inputs,
|
||||
Output->getAdditionalOutputForType(types::ID::TY_SwiftModuleFile);
|
||||
if (ModuleOutputPath.hasValue()) {
|
||||
Arguments.push_back("-emit-module");
|
||||
Arguments.push_back("-module-output-path");
|
||||
Arguments.push_back("-emit-module-path");
|
||||
Arguments.push_back(ModuleOutputPath->data());
|
||||
}
|
||||
|
||||
@@ -170,7 +170,7 @@ Job *Swift::constructJob(const JobAction &JA, std::unique_ptr<JobList> Inputs,
|
||||
Output->getAdditionalOutputForType(types::TY_SerializedDiagnostics);
|
||||
if (SerializedDiagnosticsPath) {
|
||||
Arguments.push_back("-serialize-diagnostics");
|
||||
Arguments.push_back("-serialized-diagnostics-path");
|
||||
Arguments.push_back("-serialize-diagnostics-path");
|
||||
Arguments.push_back(SerializedDiagnosticsPath->data());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user