enum class ParameterABI

Description

Kinds of parameter ABI.

Declared at: clang/include/clang/Basic/Specifiers.h:345

Enumerators

NameValueComment
Ordinary0This parameter uses ordinary ABI rules for its type.
SwiftIndirectResult1This parameter (which must have pointer type) is a Swift indirect result parameter.
SwiftErrorResult2This parameter (which must have pointer-to-pointer type) uses the special Swift error-result ABI treatment. There can be at most one parameter on a given function that uses this treatment.
SwiftContext3This parameter (which must have pointer type) uses the special Swift context-pointer ABI treatment. There can be at most one parameter on a given function that uses this treatment.
SwiftAsyncContext4This parameter (which must have pointer type) uses the special Swift asynchronous context-pointer ABI treatment. There can be at most one parameter on a given function that uses this treatment.