Skip to content

Commit 1e421aa

Browse files
author
Harlan Haskins
authored
---
yaml --- r: 280575 b: refs/heads/swift-5.1-branch c: 486f96e h: refs/heads/master i: 280573: 51721d5 280571: bb88b78 280567: a05866b 280559: fb984f4 280543: 0152356 280511: c472024 280447: dd8b3e0 280319: 54e6b27 280063: 20d1d01 279551: d075260 278527: e4902cf
1 parent 6211b5e commit 1e421aa

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ refs/heads/marcrasi-astverifier-disable: 3fac766a23a77ebd0640296bfd7fc116ea60a4e
12421242
refs/heads/revert-22227-a-tall-white-fountain-played: adfce60b2eaa54903ea189bed8a783bca609fa53
12431243
refs/heads/revert-22300-revert-22227-a-tall-white-fountain-played: 5f92040224df7dd4e618fdfb367349df64d8acad
12441244
refs/heads/swift-5.1-old-llvm-branch: 9cef8175146f25b72806154b8a0f4a3f52e3e400
1245-
refs/heads/swift-5.1-branch: 9eb4226216c04af68d0ee11f039404fee3fa235d
1245+
refs/heads/swift-5.1-branch: 486f96eed2bd35647f902445d2e9dc60d27d1638
12461246
refs/tags/swift-4.2.2-RELEASE: e429d1f1aaf59e69d38207a96e56265c7f6fccec
12471247
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-02-a: 3e5a03d32ff3b1e9af90d6c1198c14f938379a6e
12481248
refs/tags/swift-5.0-DEVELOPMENT-SNAPSHOT-2019-02-03-a: 4591c933063ddcb0d6cd6d0cdd01086b2f9b244d

branches/swift-5.1-branch/include/swift/Option/Options.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,8 @@ def index_ignore_system_modules : Flag<["-"], "index-ignore-system-modules">,
851851
HelpText<"Avoid indexing system modules">;
852852

853853
def enforce_exclusivity_EQ : Joined<["-"], "enforce-exclusivity=">,
854-
Flags<[FrontendOption]>, MetaVarName<"<enforcement>">,
854+
Flags<[FrontendOption, ParseableInterfaceOption]>,
855+
MetaVarName<"<enforcement>">,
855856
HelpText<"Enforce law of exclusivity">;
856857

857858
def working_directory : Separate<["-"], "working-directory">,

branches/swift-5.1-branch/test/ParseableInterface/option-preservation.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
// RUN: %empty-directory(%t)
22

3-
// RUN: %target-swift-frontend -enable-resilience -emit-parseable-module-interface-path %t.swiftinterface -module-name t %s -emit-module -o /dev/null -Onone
3+
// RUN: %target-swift-frontend -enable-resilience -emit-parseable-module-interface-path %t.swiftinterface -module-name t %s -emit-module -o /dev/null -Onone -enforce-exclusivity=unchecked
44
// RUN: %FileCheck %s < %t.swiftinterface -check-prefix=CHECK-SWIFTINTERFACE
55
//
66
// CHECK-SWIFTINTERFACE: swift-module-flags:
77
// CHECK-SWIFTINTERFACE-SAME: -enable-resilience
88
// CHECK-SWIFTINTERFACE-SAME: -Onone
9+
// CHECK-SWIFTINTERFACE-SAME: -enforce-exclusivity=unchecked
910

1011
// Make sure flags show up when filelists are enabled
1112

12-
// RUN: %target-build-swift %s -driver-filelist-threshold=0 -emit-parseable-module-interface -o %t/foo -module-name foo -module-link-name fooCore -force-single-frontend-invocation -Ounchecked 2>&1
13+
// RUN: %target-build-swift %s -driver-filelist-threshold=0 -emit-parseable-module-interface -o %t/foo -module-name foo -module-link-name fooCore -force-single-frontend-invocation -Ounchecked -enforce-exclusivity=unchecked 2>&1
1314
// RUN: %FileCheck %s < %t/foo.swiftinterface --check-prefix CHECK-FILELIST-INTERFACE
1415

1516
// CHECK-FILELIST-INTERFACE: swift-module-flags:
1617
// CHECK-FILELIST-INTERFACE-SAME: -target
1718
// CHECK-FILELIST-INTERFACE-SAME: -module-link-name fooCore
19+
// CHECK-FILELIST-INTERFACE-SAME: -enforce-exclusivity=unchecked
1820
// CHECK-FILELIST-INTERFACE-SAME: -Ounchecked
1921
// CHECK-FILELIST-INTERFACE-SAME: -module-name foo
2022

0 commit comments

Comments
 (0)