Skip to content

Commit 2de4f77

Browse files
committed
swift-ide-test: Enable Feature::NoncopyableGenerics when built with SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS
1 parent 9895a54 commit 2de4f77

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/swift-ide-test/swift-ide-test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4426,6 +4426,9 @@ int main(int argc, char *argv[]) {
44264426
InitInvok.getLangOptions().EnableExperimentalStringProcessing = true;
44274427
}
44284428

4429+
if (SWIFT_ENABLE_EXPERIMENTAL_NONCOPYABLE_GENERICS)
4430+
InitInvok.getLangOptions().enableFeature(Feature::NoncopyableGenerics);
4431+
44294432
if (!options::Triple.empty())
44304433
InitInvok.setTargetTriple(options::Triple);
44314434
if (!options::SwiftVersion.empty()) {

0 commit comments

Comments
 (0)