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
MDStringnode from the given string value.Declaration
Swift
public init(_ value: String)Parameters
valueThe string value to assign to this metadata node.
-
Declaration
Swift
public init(stringLiteral value: String) -
Declaration
Swift
public func asMetadata() -> LLVMMetadataRef
MDString Structure Reference