_IRMetadataInitializerHack

public protocol _IRMetadataInitializerHack

An unfortunate artifact of the design of the metadata class hierarchy is that you may find it convenient to force-cast metadata nodes. In general, this behavior is not encouraged, but it will be supported for now.

  • Initialize a metadata node from a raw LLVM metadata ref.

    Declaration

    Swift

    init(llvm: LLVMMetadataRef)