mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a 'swifti' symlink to stage in the upcoming driver changes
For now, keep 'swift' the same and put all the interactive driver changes under 'swifti'. When these are in good shape, I will remove swifti and make 'swift' the interactive driver as discussed. Swift SVN r20359
This commit is contained in:
@@ -401,8 +401,8 @@ Job *Swift::constructJob(const JobAction &JA, std::unique_ptr<JobList> Inputs,
|
||||
// In immediate mode, pass through any arguments following -i INPUT after --.
|
||||
if (OI.CompilerMode == OutputInfo::Mode::Immediate) {
|
||||
Arg *A = Args.getLastArg(options::OPT_i);
|
||||
assert(A && "expected -i option in immediate mode");
|
||||
if (A->getNumValues() > 1) {
|
||||
// FIXME: pass through arguments with swifti
|
||||
if (A && A->getNumValues() > 1) {
|
||||
Arguments.push_back("--");
|
||||
Arguments.append(A->getValues().begin() + 1, A->getValues().end());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user