@@ -268,9 +268,8 @@ class TypeInfo {
268268 const ContextDescriptor *
269269 _searchConformancesByMangledTypeName (Demangle::NodePointer node);
270270
271- SWIFT_RUNTIME_EXPORT
272271 Demangle::NodePointer _swift_buildDemanglingForMetadata (const Metadata *type,
273- Demangle::Demangler &Dem);
272+ Demangle::Demangler &Dem);
274273
275274 // / Callback used to provide the substitution of a generic parameter
276275 // / (described by depth/index) to its metadata.
@@ -368,15 +367,13 @@ class TypeInfo {
368367 unsigned index) const ;
369368 };
370369
371- #pragma clang diagnostic push
372- #pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
373370 // / Retrieve the type metadata described by the given demangled type name.
374371 // /
375372 // / \p substGenericParam Function that provides generic argument metadata
376373 // / given a particular generic parameter specified by depth/index.
377374 // / \p substWitnessTable Function that provides witness tables given a
378375 // / particular dependent conformance index.
379- SWIFT_RUNTIME_EXPORT SWIFT_CC (swift)
376+ SWIFT_CC (swift)
380377 TypeLookupErrorOr<TypeInfo> swift_getTypeByMangledNode(
381378 MetadataRequest request,
382379 Demangler &demangler,
@@ -391,14 +388,13 @@ class TypeInfo {
391388 // / given a particular generic parameter specified by depth/index.
392389 // / \p substWitnessTable Function that provides witness tables given a
393390 // / particular dependent conformance index.
394- SWIFT_RUNTIME_EXPORT SWIFT_CC (swift)
391+ SWIFT_CC (swift)
395392 TypeLookupErrorOr<TypeInfo> swift_getTypeByMangledName(
396393 MetadataRequest request,
397394 StringRef typeName,
398395 const void * const *arguments,
399396 SubstGenericParameterFn substGenericParam,
400397 SubstDependentWitnessTableFn substWitnessTable);
401- #pragma clang diagnostic pop
402398
403399 // / Function object that produces substitutions for the generic parameters
404400 // / that occur within a mangled name, using the complete set of generic
0 commit comments