Remove -l flag from Swift interim driver.

Being able to pass -l to the driver isn't so interesting, and it's an
extra field that lives on TranslationUnit for no reason. Just remove it.

This doesn't interfere with autolinking, i.e. inferring -l flags based on
imported modules.

Swift SVN r9241
This commit is contained in:
Jordan Rose
2013-10-12 00:08:06 +00:00
parent ce612d3231
commit ad75aa5021
6 changed files with 5 additions and 42 deletions

View File

@@ -124,10 +124,6 @@ bool CompilerInvocation::parseArgs(ArrayRef<const char *> Args,
LangOpts.DebugConstraintSolver = true;
break;
case OPT_link_library:
addLinkLibrary(InputArg->getValue(), LibraryKind::Library);
break;
case OPT_std_EQ:
if (strcmp(InputArg->getValue(), "axle") == 0)
LangOpts.Axle = true;