diff --git a/xcode/common.xcconfig b/xcode/common.xcconfig index 4e4b8eafda..3ade69c625 100644 --- a/xcode/common.xcconfig +++ b/xcode/common.xcconfig @@ -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