summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2019-03-16 18:37:48 -0400
committerAllen Winter <allen.winter@kdab.com>2019-03-16 18:39:09 -0400
commit0a58e5b572fba89e7b582f01391bc7e2baf673cf (patch)
tree78383ffd389271443b453208cd00512466c03cad /scripts
parentdf02ff179f0d598a29e048a6c9ca4df605ddfcc8 (diff)
downloadlibical-git-0a58e5b572fba89e7b582f01391bc7e2baf673cf.tar.gz
scripts/buildtests.sh - deal with improved static checkers
cppcheck, clang analyzer, clang-tidy are getting better don't complaing about gtk deprecated stuff
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildtests.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index 7cb3d988..d3de5d9f 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -94,7 +94,7 @@ CHECK_WARNINGS() {
# print warnings found in the compile-stage output
# $1 = file with the compile-stage output
COMPILE_WARNINGS() {
- whitelist='\(no[[:space:]]link[[:space:]]for:\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|U_PLATFORM_HAS_WINUWP_API\|DB_DBM_HSEARCH\|const[[:space:]]DBT\|db\.h\)'
+ whitelist='\(no[[:space:]]link[[:space:]]for:\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|g_type_class_add_private.*is[[:space:]]deprecated\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|U_PLATFORM_HAS_WINUWP_API\|DB_DBM_HSEARCH\|const[[:space:]]DBT\|db\.h\)'
CHECK_WARNINGS $1 "warning:" "$whitelist"
}
@@ -109,7 +109,7 @@ CPPCHECK_WARNINGS() {
# print warnings find in the clang-tidy output
# $1 = file with the clang-tidy output
TIDY_WARNINGS() {
- whitelist='\(Value[[:space:]]descriptions\|unused[[:space:]]declarations\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|modernize-\|cppcoreguidelines-pro-type-const-cast\|cppcoreguidelines-pro-type-reinterpret-cast\|cppcoreguidelines-pro-type-vararg\|cppcoreguidelines-pro-bounds-pointer-arithmetic\|google-build-using-namespace\|llvm-include-order\|hicpp-use-equals-default\|cppcoreguidelines-no-malloc)'
+ whitelist='\(Value[[:space:]]descriptions\|unused[[:space:]]declarations\|g-ir-scanner:\|clang.*argument[[:space:]]unused[[:space:]]during[[:space:]]compilation\|modernize-\|cppcoreguidelines-pro-type-const-cast\|cppcoreguidelines-pro-type-reinterpret-cast\|cppcoreguidelines-owning-memory\|fuchsia.*\|hicpp-use-auto\|hicpp-no-malloc\|hicpp-use-nullptr\|hicpp-exception-baseclass\|cppcoreguidelines-pro-type-vararg\|cppcoreguidelines-pro-bounds-pointer-arithmetic\|google-build-using-namespace\|llvm-include-order\|hicpp-use-equals-default\|cppcoreguidelines-no-malloc\|g_type_class_add_private.*is[[:space:]]deprecated\)'
CHECK_WARNINGS $1 "warning:" "$whitelist"
}
@@ -117,7 +117,7 @@ TIDY_WARNINGS() {
# print warnings found in the scan-build output
# $1 = file with the scan-build output
SCAN_WARNINGS() {
- whitelist='\(no[[:space:]]link[[:space:]]for:\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|icalerror.*Dereference[[:space:]]of[[:space:]]null[[:space:]]pointer\)'
+ whitelist='\(no[[:space:]]link[[:space:]]for:\|g_type_class_add_private.*is[[:space:]]deprecated\|/vcc\.c\|/vobject\.c\|/icalsslexer\.c\|Value[[:space:]]descriptions\|unused[[:space:]]declarations\|icalerror.*Dereference[[:space:]]of[[:space:]]null[[:space:]]pointer\)'
CHECK_WARNINGS $1 "warning:" "$whitelist"
}