DISubroutineType

public struct DISubroutineType : DIType

DISubroutineType nodes represent subroutine types.

Subroutine types are meant to mirror their formal declarations in source: arguments are represented in order. The return type is optional and meant to represent the concept of void in C-like languages.

  • Declaration

    Swift

    public func asMetadata() -> LLVMMetadataRef
  • Declaration

    Swift

    public init(llvm: LLVMMetadataRef)