[xcode] Enabled additional Static Analyzer warnings

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2021-12-17 12:12:24 +01:00 committed by Alexander Borsuk
parent 0fafbd4ddb
commit 5b96fd53f5

View file

@ -93,3 +93,8 @@ TARGETED_DEVICE_FAMILY = 1,2
VALID_ARCHS = arm64
VALID_ARCHS[sdk=iphonesimulator*] = x86_64 arm64
VALID_ARCHS[sdk=macosx*] = x86_64 arm64
// Static analyzer options.
CLANG_ANALYZER_GCD_PERFORMANCE = YES
CLANG_TIDY_BUGPRONE_REDUNDANT_BRANCH_CONDITION = YES
CLANG_TIDY_MISC_REDUNDANT_EXPRESSION = YES