Skip to content

Commit ef9db60

Browse files
authored
[Reflection] Remove folder in shims (swiftlang#63231)
1 parent 6ea82b2 commit ef9db60

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

stdlib/public/SwiftShims/swift/shims/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ set(sources
2323
Visibility.h
2424
_SwiftConcurrency.h
2525
_SwiftDistributed.h
26-
27-
_SwiftRuntimeShims/Functions.h
26+
_SwiftRuntime.h
2827

2928
module.modulemap
3029
)

stdlib/public/SwiftShims/swift/shims/_SwiftRuntimeShims/Functions.h renamed to stdlib/public/SwiftShims/swift/shims/_SwiftRuntime.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
#ifndef SWIFT_REFLECTION_FUNCTIONS_H
13-
#define SWIFT_REFLECTION_FUNCTIONS_H
12+
#ifndef SWIFT_REFLECTION_RUNTIME_H
13+
#define SWIFT_REFLECTION_RUNTIME_H
1414

1515
// OpaqueValue *swift_projectBox(HeapObject *object);
1616
extern void *swift_projectBox(void *object);
@@ -19,4 +19,4 @@ extern void *swift_projectBox(void *object);
1919
// ProtocolDescriptor *protocol);
2020
extern void *swift_conformsToProtocol(const void *type, const void *protocol);
2121

22-
#endif /* SWIFT_REFLECTION_FUNCTIONS_H */
22+
#endif /* SWIFT_REFLECTION_RUNTIME_H */

stdlib/public/SwiftShims/swift/shims/module.modulemap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ module SwiftOverlayShims {
3232
}
3333

3434
module _SwiftRuntimeShims {
35-
header "_SwiftRuntimeShims/Functions.h"
35+
header "_SwiftRuntime.h"
3636
export *
3737
}

0 commit comments

Comments
 (0)