@@ -34,35 +34,35 @@ import SubE
3434// CHECK-LABEL: "modulePath": "deps.swiftmodule",
3535// CHECK-NEXT: sourceFiles
3636// CHECK-NEXT: module_deps.swift
37- // CHECK-NEXT: ],
38- // CHECK-NEXT: " directDependencies": [
39- // CHECK-NEXT: {
40- // CHECK-NEXT: "swift ": "A "
41- // CHECK-NEXT: },
42- // CHECK-NEXT: {
43- // CHECK-NEXT: "clang ": "C "
44- // CHECK-NEXT: },
45- // CHECK-NEXT: {
46- // CHECK-NEXT: "swift": "E "
47- // CHECK-NEXT: },
48- // CHECK-NEXT: {
49- // CHECK-NEXT: "swift": "F "
50- // CHECK-NEXT: },
51- // CHECK-NEXT: {
52- // CHECK-NEXT: "swift": "G "
53- // CHECK-NEXT: },
54- // CHECK-NEXT: {
55- // CHECK-NEXT: "swift": "SubE "
56- // CHECK-NEXT: },
57- // CHECK-NEXT: {
58- // CHECK-NEXT: "swift": "Swift "
59- // CHECK-NEXT: },
60- // CHECK-NEXT: {
61- // CHECK-NEXT: "swift": "SwiftOnoneSupport "
62- // CHECK-NEXT: },
63- // CHECK-NEXT: {
64- // CHECK-NEXT: "swift": "_cross_import_E "
65- // CHECK-NEXT: }
37+
38+ // CHECK: directDependencies
39+ // CHECK-NEXT: {
40+ // CHECK-NEXT: "clang ": "C "
41+ // CHECK-NEXT: }
42+ // CHECK-NEXT: {
43+ // CHECK-NEXT: "swift ": "E "
44+ // CHECK-NEXT: }
45+ // CHECK-NEXT: {
46+ // CHECK-NEXT: "swift": "G "
47+ // CHECK-NEXT: }
48+ // CHECK-NEXT: {
49+ // CHECK-NEXT: "swift": "SubE "
50+ // CHECK-NEXT: }
51+ // CHECK-NEXT: {
52+ // CHECK-NEXT: "swift": "Swift "
53+ // CHECK-NEXT: }
54+ // CHECK-NEXT: {
55+ // CHECK-NEXT: "swift": "SwiftOnoneSupport "
56+ // CHECK-NEXT: }
57+ // CHECK-NEXT: {
58+ // CHECK-NEXT: "swift": "_cross_import_E "
59+ // CHECK-NEXT: }
60+ // CHECK-NEXT: {
61+ // CHECK-NEXT: "swift": "F "
62+ // CHECK-NEXT: }
63+ // CHECK-NEXT: {
64+ // CHECK-NEXT: "swift": "A "
65+ // CHECK-NEXT: }
6666// CHECK-NEXT: ],
6767
6868// CHECK: "extraPcmArgs": [
@@ -83,17 +83,6 @@ import SubE
8383// CHECK-NEXT: "F"
8484// CHECK-NEXT: ]
8585
86- /// --------Swift module A
87- // CHECK-LABEL: "modulePath": "A.swiftmodule",
88-
89- // CHECK: directDependencies
90- // CHECK-NEXT: {
91- // CHECK-NEXT: "clang": "A"
92- // CHECK-NEXT: }
93- // CHECK-NEXT: {
94- // CHECK-NEXT: "swift": "Swift"
95- // CHECK-NEXT: },
96-
9786/// --------Clang module C
9887// CHECK-LABEL: "modulePath": "C.pcm",
9988
@@ -131,30 +120,14 @@ import SubE
131120// CHECK: "moduleInterfacePath"
132121// CHECK-SAME: E.swiftinterface
133122
134- /// --------Swift module F
135- // CHECK: "modulePath": "F.swiftmodule",
136- // CHECK-NEXT: "sourceFiles": [
137- // CHECK-NEXT: ],
138- // CHECK-NEXT: "directDependencies": [
139- // CHECK-NEXT: {
140- // CHECK-NEXT: "clang": "F"
141- // CHECK-NEXT: },
142- // CHECK-NEXT: {
143- // CHECK-NEXT: "swift": "Swift"
144- // CHECK-NEXT: },
145- // CHECK-NEXT: {
146- // CHECK-NEXT: "swift": "SwiftOnoneSupport"
147- // CHECK-NEXT: }
148- // CHECK-NEXT: ],
149-
150123/// --------Swift module G
151124// CHECK-LABEL: "modulePath": "G.swiftmodule"
152125// CHECK: "directDependencies"
153126// CHECK-NEXT: {
154- // CHECK-NEXT: "clang ": "G "
127+ // CHECK-NEXT: "swift ": "Swift "
155128// CHECK-NEXT: },
156129// CHECK-NEXT: {
157- // CHECK-NEXT: "swift ": "Swift "
130+ // CHECK-NEXT: "clang ": "G "
158131// CHECK-NEXT: },
159132// CHECK-NEXT: {
160133// CHECK-NEXT: "swift": "SwiftOnoneSupport"
@@ -183,6 +156,33 @@ import SubE
183156// CHECK-NEXT: {
184157// CHECK-NEXT: "clang": "SwiftShims"
185158
159+ /// --------Swift module F
160+ // CHECK: "modulePath": "F.swiftmodule",
161+ // CHECK-NEXT: "sourceFiles": [
162+ // CHECK-NEXT: ],
163+ // CHECK-NEXT: "directDependencies": [
164+ // CHECK-NEXT: {
165+ // CHECK-NEXT: "swift": "Swift"
166+ // CHECK-NEXT: },
167+ // CHECK-NEXT: {
168+ // CHECK-NEXT: "clang": "F"
169+ // CHECK-NEXT: },
170+ // CHECK-NEXT: {
171+ // CHECK-NEXT: "swift": "SwiftOnoneSupport"
172+ // CHECK-NEXT: }
173+ // CHECK-NEXT: ],
174+
175+ /// --------Swift module A
176+ // CHECK-LABEL: "modulePath": "A.swiftmodule",
177+
178+ // CHECK: directDependencies
179+ // CHECK-NEXT: {
180+ // CHECK-NEXT: "swift": "Swift"
181+ // CHECK-NEXT: },
182+ // CHECK-NEXT: {
183+ // CHECK-NEXT: "clang": "A"
184+ // CHECK-NEXT: }
185+
186186/// --------Clang module B
187187// CHECK-LABEL: "modulePath": "B.pcm"
188188
0 commit comments