[NCGenerics] SwiftSources == CompilerInvocation

Match up the additional flags in SwiftSources.cmake and
CompilerInvocation.cpp with respect to NoncopyableGenerics.

I think only CompilerInvocation is truly needed, though.
This commit is contained in:
Kavon Farvardin
2024-01-12 18:32:25 -08:00
parent fc9575cda9
commit 287297c16e

View File

@@ -2654,6 +2654,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
if (Args.hasArg(OPT_no_clang_module_breadcrumbs))
Opts.DisableClangModuleSkeletonCUs = true;
if (SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS)
Opts.DisableRoundTripDebugTypes = true; // temporary until we fix mangling!
if (auto A = Args.getLastArg(OPT_enable_round_trip_debug_types,
OPT_disable_round_trip_debug_types)) {
Opts.DisableRoundTripDebugTypes =