MDString

public struct MDString : IRMetadata, ExpressibleByStringLiteral

MDString nodes represent string constants in metadata nodes.

  • Declaration

    Swift

    public typealias StringLiteralType = String
  • Declaration

    Swift

    public init(llvm: LLVMMetadataRef)
  • Create an MDString node from the given string value.

    Declaration

    Swift

    public init(_ value: String)

    Parameters

    value

    The string value to assign to this metadata node.

  • Declaration

    Swift

    public init(stringLiteral value: String)
  • Declaration

    Swift

    public func asMetadata() -> LLVMMetadataRef