Marks the given function declaration as optional.
A function declaration is considered optional if it's annotated with the UDA: @(core.attribute.optional). Only function declarations inside interface declarations and with Objective-C linkage can be declared as optional.
the function declaration to be set as optional
the scope from the semantic phase
See Implementation
Marks the given function declaration as optional.
A function declaration is considered optional if it's annotated with the UDA: @(core.attribute.optional). Only function declarations inside interface declarations and with Objective-C linkage can be declared as optional.