Benoit D.-M. - oslandia
|
6ca514013c
|
Update scripts/cppcheck.sh
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
|
2025-01-27 18:16:51 +01:00 |
|
bdm-oslandia
|
78463c0226
|
chore(cppcheck): add optional parameter to specify the directory to check, ../src by default
co-author: rouault
|
2025-01-27 18:16:51 +01:00 |
|
Nyall Dawson
|
341b7e5af7
|
Fix cppcheck
|
2024-12-06 06:24:08 +10:00 |
|
Nyall Dawson
|
8e6ffb16bc
|
Add QgsSetRequestInitiatorClass macro to cppcheck
|
2024-10-22 12:00:23 +10:00 |
|
Nyall Dawson
|
a6ccf6e6a7
|
Define macros for cppcheck
|
2024-10-15 15:00:05 +10:00 |
|
Nyall Dawson
|
12f4ce5978
|
Use correct enum type for enum with negative values
|
2024-01-31 17:16:18 +10:00 |
|
Nyall Dawson
|
e150ef58dd
|
Fix some cppcheck errors
|
2023-08-08 09:06:04 +02:00 |
|
Nyall Dawson
|
cb360f017b
|
Make cppcheck test check for missing overrides
|
2023-04-17 15:12:59 +10:00 |
|
Nyall Dawson
|
29b9c38466
|
Add another macro for cppcheck happiness
|
2023-04-15 18:06:14 +10:00 |
|
Nyall Dawson
|
991573b100
|
Add some macro definitions to keep cppcheck happy
|
2023-04-15 18:06:14 +10:00 |
|
Nyall Dawson
|
644478cc95
|
Add some cppcheck macro definitions to avoid some warnings
|
2023-04-06 15:23:11 +10:00 |
|
Nyall Dawson
|
9f99f109c6
|
Exclude qgsgcptransformer.cpp from cppcheck scanning
This file causes cppcheck to hang indefinitely. Suppressing warnings
is not sufficient, we need to completely exclude this file from the
scan.
|
2023-04-06 15:23:11 +10:00 |
|
Julien Cabieces
|
1af1c3cf10
|
fix shellcheck
|
2022-08-10 12:23:47 +10:00 |
|
Julien Cabieces
|
b9be1a35a4
|
[CppCheck] use a var for error categories
|
2022-08-10 12:23:47 +10:00 |
|
Julien Cabieces
|
7238520fa0
|
[CppCheck] Fix duplicateBranch
|
2022-08-10 12:23:47 +10:00 |
|
Julien Cabieces
|
470ca47f39
|
[CppCheck] fix unsignedLessThanZero
|
2022-08-10 12:23:47 +10:00 |
|
Julien Cabieces
|
b9037feabb
|
add functionConst to the list of cppcheck errors
|
2022-04-29 08:21:47 +10:00 |
|
Even Rouault
|
4587c4e02b
|
cppcheck.sh: define a few macros to help cppcheck parse files
|
2020-11-10 06:09:22 +10:00 |
|
Even Rouault
|
cd92345110
|
Use prefix increment operator to fix cppcheck warnings related to postfixOperator
|
2020-06-28 10:20:16 +10:00 |
|
Even Rouault
|
ff86fa1027
|
cppcheck.sh: turn 'unusedPrivateFunction' warnings as errors
|
2020-06-15 11:17:28 +10:00 |
|
Even Rouault
|
037409f2e3
|
cppcheck.sh: turn 'redundantCondition' warnings as errors
|
2020-06-15 11:17:28 +10:00 |
|
Even Rouault
|
21bc22fdbc
|
cppcheck.sh: make duplicateExpressionTernary an error
|
2020-06-15 11:17:28 +10:00 |
|
Even Rouault
|
775ad77a79
|
cppcheck.sh: make issues in 'error' category to fail build
|
2020-06-15 11:17:28 +10:00 |
|
Even Rouault
|
9df71ef19a
|
scripts/cppcheck.sh: error out on clarifyCalculation issues
|
2020-06-02 13:56:23 +02:00 |
|
Even Rouault
|
a54ad8814d
|
Add scripts/cppcheck.sh
|
2020-06-02 13:56:22 +02:00 |
|