Daniel Marjamäki
6e4acbd3bc
misra: implement rule 21.19
2021-08-19 06:58:49 +02:00
Daniel Marjamäki
8700d1b86d
update misra test
2021-08-16 20:46:37 +02:00
Daniel Marjamäki
864d6462d0
misra: implement rule 21.16
2021-08-15 20:50:20 +02:00
Daniel Marjamäki
8d67653de3
misra: implement rule 21.14
2021-08-15 19:23:51 +02:00
Daniel Marjamäki
682c4510a9
misra: implement rule 1.4
2021-08-15 13:39:14 +02:00
Daniel Marjamäki
6ddb8388ed
misra: implement rule 21.21
2021-08-15 13:38:04 +02:00
Daniel Marjamäki
10c2dcf721
misra: implement rule 22.7
2021-08-15 12:04:55 +02:00
Daniel Marjamäki
b3034a5628
misra: implement rule 22.9
2021-08-15 07:46:32 +02:00
Daniel Marjamäki
5313a40c3b
misra; implement rule 22.8
2021-08-14 19:24:31 +02:00
Daniel Marjamäki
4b126db9ca
misra: implement rule 22.10
2021-08-13 18:03:37 +02:00
Daniel Marjamäki
f85f3c28e1
misra; implement rule 21.15
2021-07-30 15:53:10 +02:00
Daniel Marjamäki
4baf221a6b
misra; implemented rule 21.2
2021-07-22 20:39:04 +02:00
Daniel Marjamäki
388b7a0fae
misra; implemented rule 20.12
2021-07-22 19:51:31 +02:00
Daniel Marjamäki
a65fa9b682
misra; implement rule 20.11
2021-07-22 16:11:25 +02:00
Daniel Marjamäki
3ba4696f4f
misra; implement rule 20.9
2021-07-22 12:08:51 +02:00
Daniel Marjamäki
74ab8f1a48
misra; implemented rule 20.8
2021-07-22 08:46:28 +02:00
Daniel Marjamäki
d2843b70ca
misra; implement rule 10.7
2021-07-21 19:18:12 +02:00
Daniel Marjamäki
fb8d6daf79
misra; implement rule 10.5
2021-07-21 15:25:01 +02:00
Daniel Marjamäki
f5fe562050
misra; improved checking of 10.3
2021-07-21 10:56:17 +02:00
Daniel Marjamäki
4428efbd2b
misra; improved essential type for composite expressions
2021-07-21 08:20:15 +02:00
Daniel Marjamäki
b409d4a598
misra; implement rule 16.1
2021-07-20 20:40:42 +02:00
Daniel Marjamäki
e72e59f934
misra; implement rule 12.4
2021-07-20 19:50:31 +02:00
Daniel Marjamäki
937146127a
misra; fix essential type for integer literals
2021-07-20 18:27:49 +02:00
Daniel Marjamäki
b320a092d0
misra; fix essential type for char literals
2021-07-20 16:39:59 +02:00
Daniel Marjamäki
6f7722873e
CI; specify unix64 platform when running misra-test
2021-07-20 12:23:16 +02:00
Daniel Marjamäki
d467505696
misra; update essential type for variables
2021-07-19 17:12:24 +02:00
Daniel Marjamäki
657d530fa1
misra; implement rule 10.3
2021-07-19 14:54:17 +02:00
Daniel Marjamäki
d1fe34e167
misra; implement rule 8.10
2021-07-18 21:18:07 +02:00
Daniel Marjamäki
5f548a4b6c
misra; implement rule 8.9
2021-07-18 10:31:52 +02:00
Daniel Marjamäki
59c797c776
misra; implement rule 8.8
2021-07-17 23:38:29 +02:00
Daniel Marjamäki
f44a82856f
misra; implement rule 8.7
2021-07-17 22:36:03 +02:00
Daniel Marjamäki
77d8b714ea
misra; implement rule 8.6
2021-07-17 21:24:53 +02:00
Daniel Marjamäki
aa910d3c38
misra; implemented rule 8.5
2021-07-17 19:59:21 +02:00
Daniel Marjamäki
e4ae4471e8
misra; implement rule 11.2
2021-07-11 20:55:54 +02:00
Daniel Marjamäki
9d5c65fcce
CI; Improved testing of misra addon
2021-07-11 17:24:14 +02:00
Daniel Marjamäki
754d648b0f
misra; implement rule 11.1
2021-07-11 07:50:13 +02:00
Daniel Marjamäki
009c144455
misra; implement rule 8.4
2021-07-10 20:10:44 +02:00
Daniel Marjamäki
599a559351
misra; implement rule 5.9
2021-07-10 12:51:40 +02:00
Daniel Marjamäki
c77235f12c
misra; implement rule 5.8
2021-07-09 09:47:23 +02:00
Daniel Marjamäki
e05a9d7e65
misra: implement rule 2.5
2021-07-08 22:03:27 +02:00
Daniel Marjamäki
4ecf3ccd17
misra: implement rule 22.5
2021-07-07 23:00:12 +02:00
Daniel Marjamäki
cf049cb759
misra: implement rule 5.7
2021-07-07 21:47:17 +02:00
Daniel Marjamäki
859e541661
misra: implement rule 2.4
2021-07-07 20:30:52 +02:00
Daniel Marjamäki
13d55c7060
misra; implement rule 2.3
2021-07-07 15:16:53 +02:00
Daniel Marjamäki
00a9671f46
misra: implement 8.1
2021-07-07 13:34:55 +02:00
Daniel Marjamäki
9172f2ab3b
addons; add CTU infrastructure
2021-07-07 10:58:13 +02:00
Georgiy Komarov
6f389014f1
cppcheckdata: Fix crash on an empty union ( #3326 )
2021-07-06 17:01:58 +02:00
Georgiy Komarov
426117a30d
misra: Improve warning messages for rule 8.2 when the missing arguments are on the next line ( #3320 )
...
This makes it easier for the user to find the violation.
Suggested in the forum: https://sourceforge.net/p/cppcheck/discussion/development/thread/801dc07e59/#a1a8/d3e9/c455/8915/747c/2525/0eb8/0f7d
2021-07-01 21:08:40 +02:00
Georgiy Komarov
10123b4ad2
misra: Emit more accurate warnings for unused arguments in rule 2.7 ( #3314 )
...
Make the MISRA addon emit extra warnings for unused arguments placed in
lines other than the function definition. This makes it easier for the
user to find violations.
2021-06-29 11:17:38 +02:00
Georgiy Komarov
a2cb9f17c1
misra: Don't consider variadic arguments as the violation of rule 2.7 ( #3315 )
...
The MISRA 2012 standard does not say anything about variadic functions
in the definition of rule 2.7. Therefore, these cases should be
considered as false positives.
2021-06-29 08:46:35 +02:00