[Frontend] Handle '-serialize-diagnostics' in CompilerInvocation::parseArgs.

Swift SVN r10326
This commit is contained in:
Argyrios Kyrtzidis
2013-11-10 23:49:34 +00:00
parent e36ebb217c
commit 5a673d2e77
3 changed files with 15 additions and 0 deletions

View File

@@ -128,6 +128,10 @@ bool CompilerInvocation::parseArgs(ArrayRef<const char *> Args,
addLinkLibrary(InputArg->getValue(), LibraryKind::Library);
break;
case OPT_serialized_diagnostics_path:
setSerializedDiagnosticsPath(InputArg->getValue());
break;
case OPT_output:
setOutputFilename(InputArg->getValue());
break;