mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[driver] Add support for passing -parse-as-library and -parse-stdlib to the frontend.
Swift SVN r12172
This commit is contained in:
@@ -118,6 +118,9 @@ std::unique_ptr<Job> Swift::constructJob(const JobAction &JA,
|
||||
// Pass through the values passed to -Xfrontend.
|
||||
Args.AddAllArgValues(Arguments, options::OPT_Xfrontend);
|
||||
|
||||
Args.AddLastArg(Arguments, options::OPT_parse_as_library);
|
||||
|
||||
Args.AddLastArg(Arguments, options::OPT_parse_stdlib);
|
||||
|
||||
// Add the output file argument if necessary.
|
||||
if (Output->getType() != types::TY_Nothing) {
|
||||
|
||||
Reference in New Issue
Block a user