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

NameValueComment
OBJC_TQ_None0
OBJC_TQ_In1
OBJC_TQ_Inout2
OBJC_TQ_Out4
OBJC_TQ_Bycopy8
OBJC_TQ_Byref16
OBJC_TQ_Oneway32
OBJC_TQ_CSNullability64The nullability qualifier is set when the nullability of the result or parameter was expressed via a context-sensitive keyword.