enum Decl::ObjCDeclQualifier
Description
ObjCDeclQualifier - 'Qualifiers' written next to the return and parameter types in method declarations. Other than remembering them and mangling them into the method's signature string, these are ignored by the compiler; they are consumed by certain remote-messaging frameworks. in, inout, and out are mutually exclusive and apply only to method parameters. bycopy and byref are mutually exclusive and apply only to method parameters (?). oneway applies only to results. All of these expect their corresponding parameter to have a particular type. None of this is currently enforced by clang. This should be kept in sync with ObjCDeclSpec::ObjCDeclQualifier.
Declared at: clang/include/clang/AST/DeclBase.h:195
Enumerators
Name | Value | Comment |
---|---|---|
OBJC_TQ_None | 0 | |
OBJC_TQ_In | 1 | |
OBJC_TQ_Inout | 2 | |
OBJC_TQ_Out | 4 | |
OBJC_TQ_Bycopy | 8 | |
OBJC_TQ_Byref | 16 | |
OBJC_TQ_Oneway | 32 | |
OBJC_TQ_CSNullability | 64 | The nullability qualifier is set when the nullability of the result or parameter was expressed via a context-sensitive keyword. |