I do not believe that any of these warning flags apply to Swift; they are mainly applied to C languages โโ(C, C ++, Objective-C). I understand that the Swift team wants to avoid creating โdialectsโ of the language, so all warnings and errors supported by the Swift compiler are always on, and there really is no way to enable or disable individual warnings. Therefore, given this, I believe that the Swift compiler is currently not able to test unused functions.
source share