File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 4
4
#include " Private.h"
5
5
6
6
#if SWIFT_OBJC_INTEROP
7
-
8
7
#include < objc/runtime.h>
8
+ #endif
9
9
10
10
// FIXME: This stuff should be merged with the existing logic in
11
11
// include/swift/Reflection/TypeRefBuilder.h as part of the rewrite
@@ -298,5 +298,3 @@ Demangle::NodePointer swift::_swift_buildDemanglingForMetadata(const Metadata *t
298
298
// Not a type.
299
299
return nullptr ;
300
300
}
301
-
302
- #endif
Original file line number Diff line number Diff line change @@ -156,9 +156,7 @@ namespace swift {
156
156
const Metadata *
157
157
_searchConformancesByMangledTypeName (const llvm::StringRef typeName);
158
158
159
- #if SWIFT_OBJC_INTEROP
160
159
Demangle::NodePointer _swift_buildDemanglingForMetadata (const Metadata *type);
161
- #endif
162
160
163
161
// / A helper function which avoids performing a store if the destination
164
162
// / address already contains the source value. This is useful when
You can’t perform that action at this time.
0 commit comments