StorageClass

public enum StorageClass

Represents the storage classes as declared in the source.

  • No storage class was declared for the declaration.

    Declaration

    Swift

    case none
  • The declaration was declared extern, meaning its value will exist in another object file.

    Declaration

    Swift

    case extern
  • The declaration was declared static, rendering it inacessible outside this source file.

    Declaration

    Swift

    case `static`
  • The declaration was declared private extern.

    Declaration

    Swift

    case privateExtern
  • The declaration was declared local to the current OpenCL work group.

    Declaration

    Swift

    case openCLWorkGroupLocal
  • The declaration was declared automatic.

    Declaration

    Swift

    case auto
  • The declaration was declared with the register storage class.

    Declaration

    Swift

    case register