Skip to content

Commit afb26ce

Browse files
committed
enable by default
1 parent a2ecb48 commit afb26ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Basic/LangOptions.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ LangOptions::LangOptions() {
4242
#define OPTIONAL_LANGUAGE_FEATURE(FeatureName, SENumber, Description)
4343
#include "swift/Basic/Features.def"
4444

45+
enableFeature(Feature::ExcludePrivateFromMemberwiseInit);
46+
4547
// Special case: remove macro support if the compiler wasn't built with a
4648
// host Swift.
4749
#if !SWIFT_BUILD_SWIFT_SYNTAX

0 commit comments

Comments
 (0)