mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SwiftRemoteMirror: Turn on reflection metadata by default
Flip the enable flags to disable and make these IRGen options true by default. rdar://problem/26206547
This commit is contained in:
@@ -1266,11 +1266,13 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.Sanitize = parseSanitizerArgValues(A, Triple, Diags);
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_enable_reflection_metadata)) {
|
||||
Opts.EnableReflectionMetadata = true;
|
||||
if (Args.hasArg(OPT_enable_reflection_names)) {
|
||||
Opts.EnableReflectionNames = true;
|
||||
}
|
||||
if (Args.hasArg(OPT_disable_reflection_metadata)) {
|
||||
Opts.EnableReflectionMetadata = false;
|
||||
Opts.EnableReflectionNames = false;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_disable_reflection_names)) {
|
||||
Opts.EnableReflectionNames = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user