enum class ParameterABI
Description
Kinds of parameter ABI.
Declared at: clang/include/clang/Basic/Specifiers.h:345
Enumerators
Name | Value | Comment |
---|---|---|
Ordinary | 0 | This parameter uses ordinary ABI rules for its type. |
SwiftIndirectResult | 1 | This parameter (which must have pointer type) is a Swift indirect result parameter. |
SwiftErrorResult | 2 | This 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. |
SwiftContext | 3 | This 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. |
SwiftAsyncContext | 4 | This 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. |