[ModuleInterfaces] Remove 'parseable' from command-line flags

Leave the old flag in as an alias to the new flag, for transition
purposes. Also go ahead and remove the long-deprecated and unused
`emit-interface-path`.

Part of rdar://49359734
This commit is contained in:
Harlan Haskins
2019-04-08 10:17:41 -07:00
parent a1aced9e71
commit e5456984f7
11 changed files with 80 additions and 65 deletions

View File

@@ -178,7 +178,7 @@ static void PrintArg(raw_ostream &OS, const char *Arg, StringRef TempDir) {
OS << '"';
}
/// Save a copy of any flags marked as ParseableInterfaceOption, if running
/// Save a copy of any flags marked as ModuleInterfaceOption, if running
/// in a mode that is going to emit a .swiftinterface file.
static void SaveParseableInterfaceArgs(ParseableInterfaceOptions &Opts,
FrontendOptions &FOpts,
@@ -187,7 +187,7 @@ static void SaveParseableInterfaceArgs(ParseableInterfaceOptions &Opts,
return;
ArgStringList RenderedArgs;
for (auto A : Args) {
if (A->getOption().hasFlag(options::ParseableInterfaceOption))
if (A->getOption().hasFlag(options::ModuleInterfaceOption))
A->render(Args, RenderedArgs);
}
llvm::raw_string_ostream OS(Opts.ParseableInterfaceFlags);