StringAttribute

public struct StringAttribute : Attribute

A “string” (a.k.a. target-dependent) attribute.

  • The name of the attribute.

    Declaration

    Swift

    public var name: String { get }
  • The value of the attribute.

    Declaration

    Swift

    public var value: String { get }
  • Retrieves the underlying LLVM attribute object.

    Declaration

    Swift

    public func asLLVM() -> LLVMAttributeRef