I have a number of Swift-only framework targets within a big iOS app project. I would like to explore the strictness of Swift compiler options to understand if they could give any additional benefits.
There are many warnings in Xcode but most of them seem to be Clang-related. What is the equivalent of -Wall or -Weverything that we could do for Swift compiler?
One example is a warning to prevent shadowing of the local variables: Apple LLVM 9.0 - Warnings - All languages / Hidden local variables: it is GCC_WARN_SHADOW = YES under the hood so it does not affect the swiftc compiler.