Skip to content

Commit 81c0721

Browse files
committed
Format files
1 parent 8062bfc commit 81c0721

9 files changed

+20
-20
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module UserA {
2-
header "user_a.h"
2+
header "user-a.h"
33
export *
44
}
55

66
module UserB {
7-
header "user_b.h"
7+
header "user-b.h"
88
export *
99
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_A_H
2+
#define TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_A_H
3+
4+
#include "helper.h"
5+
6+
#endif // TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_A_H
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_B_H
2+
#define TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_B_H
3+
4+
#include "helper.h"
5+
6+
#endif // TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USER_B_H

test/Interop/C/implementation-only-imports/Inputs/user_a.h

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/Interop/C/implementation-only-imports/Inputs/user_b.h

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/Interop/C/implementation-only-imports/lookup-visible-decls-recursively-inversed.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
// that the `getFortyTwo` decl can be found when at least one of the
1818
// modules is not `@_implementationOnly`.
1919

20-
@_implementationOnly import UseModuleA
21-
import UseModuleB
20+
import UseModuleA
21+
@_implementationOnly import UseModuleB
2222

2323
@inlinable
2424
public func callFortyTwo() -> CInt {
25-
return getFortyTwo()
25+
return getFortyTwo()
2626
}

test/Interop/C/implementation-only-imports/lookup-visible-decls-recursively.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ import UseModuleA
2222

2323
@inlinable
2424
public func callFortyTwo() -> CInt {
25-
return getFortyTwo()
25+
return getFortyTwo()
2626
}

test/Interop/C/implementation-only-imports/prefer-a-visible-decl-over-implementation-only-decls-inversed.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ import UserA
1818

1919
@_inlineable
2020
public func callFortyTwo() -> CInt {
21-
return getFortyTwo()
21+
return getFortyTwo()
2222
}

test/Interop/C/implementation-only-imports/prefer-a-visible-decl-over-implementation-only-decls.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ import UserB
1818

1919
@_inlineable
2020
public func callFortyTwo() -> CInt {
21-
return getFortyTwo()
21+
return getFortyTwo()
2222
}

0 commit comments

Comments
 (0)