mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Frontend] Handle '-serialize-diagnostics' in CompilerInvocation::parseArgs.
Swift SVN r10326
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user