summaryrefslogtreecommitdiff
path: root/platform/ios/ios.xcodeproj
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@mapbox.com>2019-04-30 17:08:37 -0400
committerGitHub <noreply@github.com>2019-04-30 17:08:37 -0400
commit9bd59bf041b0d0ca400f586fdbfed53d06258613 (patch)
tree03306eb75f839c993c4c4c2881f7381e9329c03f /platform/ios/ios.xcodeproj
parentb15b78346fe44afbdb81934606ab63252df96b66 (diff)
downloadqtlocation-mapboxgl-9bd59bf041b0d0ca400f586fdbfed53d06258613.tar.gz
[ios, macos] Fixes for static analyzer warnings (#14453)
Diffstat (limited to 'platform/ios/ios.xcodeproj')
-rw-r--r--platform/ios/ios.xcodeproj/project.pbxproj12
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/ios/ios.xcodeproj/project.pbxproj b/platform/ios/ios.xcodeproj/project.pbxproj
index 9a7a0dd100..dd5ca9abcd 100644
--- a/platform/ios/ios.xcodeproj/project.pbxproj
+++ b/platform/ios/ios.xcodeproj/project.pbxproj
@@ -3630,8 +3630,12 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_GCD_PERFORMANCE = YES;
+ CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = YES;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
@@ -3899,8 +3903,12 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_GCD_PERFORMANCE = YES;
+ CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = YES;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
@@ -3967,8 +3975,12 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_GCD_PERFORMANCE = YES;
+ CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = YES;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_ANALYZER_NONNULL = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
+ CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++14";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;