Skip to content

Commit 287297c

Browse files
committed
[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.
1 parent fc9575c commit 287297c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2654,6 +2654,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
26542654
if (Args.hasArg(OPT_no_clang_module_breadcrumbs))
26552655
Opts.DisableClangModuleSkeletonCUs = true;
26562656

2657+
if (SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS)
2658+
Opts.DisableRoundTripDebugTypes = true; // temporary until we fix mangling!
2659+
26572660
if (auto A = Args.getLastArg(OPT_enable_round_trip_debug_types,
26582661
OPT_disable_round_trip_debug_types)) {
26592662
Opts.DisableRoundTripDebugTypes =

0 commit comments

Comments
 (0)