Georgiy Komarov
b89f5fbeff
misra: Fix 8.2 false positives ( #3309 )
...
* misra: Fix 8.2 false positives
Fix false positives in rule 8.2 that occurred in cases when we have a
function definition and declaration in the same file.
For example, the following code generated false positives before this
commit:
```
void f(uint8_t * const x);
void f(uint8_t * const x)
{ (void)x; }
```
We need to distinguish the declaration and the definition, so the dump
file generation routine was extended to keep token where the definition
of the function. The analysis in the addon also been improved.
Closes Trac issue: https://trac.cppcheck.net/ticket/10219
2021-06-27 10:51:32 +02:00
..
2021-06-19 13:59:48 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2021-06-19 13:59:48 +02:00
2021-06-03 07:31:46 +02:00
2021-04-30 16:47:02 +02:00
2020-06-19 13:16:48 +02:00
2021-04-03 21:30:50 +02:00
2021-04-03 21:30:50 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2019-09-20 21:57:16 +02:00
2021-06-04 17:15:39 +02:00
2020-09-28 22:48:57 +02:00
2021-04-03 21:30:50 +02:00
2020-10-03 09:15:56 +02:00
2021-04-03 21:30:50 +02:00
2021-05-22 15:39:20 +02:00
2021-04-13 16:40:38 +02:00
2021-06-13 18:56:04 +02:00
2021-04-03 21:30:50 +02:00
2021-06-25 16:25:25 +02:00
2021-04-07 19:46:00 +02:00
2021-06-02 16:59:34 +02:00
2021-06-02 07:00:10 +02:00
2021-04-05 05:17:29 +02:00
2020-11-05 13:35:52 +01:00
2020-09-21 19:30:47 +02:00
2021-03-21 20:58:32 +01:00
2021-03-21 20:58:32 +01:00
2020-06-13 16:37:12 +02:00
2021-04-30 16:47:02 +02:00
2021-03-21 20:58:32 +01:00
2021-05-08 10:26:10 +02:00
2020-05-23 07:16:49 +02:00
2021-04-03 21:30:50 +02:00
2020-06-13 16:37:12 +02:00
2021-06-25 16:25:25 +02:00
2021-06-25 16:25:25 +02:00
2021-04-03 21:30:50 +02:00
2021-04-03 21:30:50 +02:00
2021-05-01 18:54:51 +02:00
2020-09-02 07:11:23 +02:00
2021-04-03 21:30:50 +02:00
2021-06-05 08:53:15 +02:00
2021-01-05 11:38:19 +01:00
2021-05-26 04:52:55 +02:00
2021-05-21 14:31:25 +02:00
2021-04-03 21:30:50 +02:00
2019-09-27 08:19:45 +02:00
2021-05-13 23:08:58 +02:00
2020-11-28 05:52:35 +01:00
2021-04-30 16:47:02 +02:00
2019-09-20 21:57:16 +02:00
2021-04-30 16:47:02 +02:00
2021-04-30 16:47:02 +02:00
2020-11-27 09:57:12 +01:00
2021-01-21 18:13:32 +01:00
2021-06-12 18:19:00 +02:00
2021-04-03 21:30:50 +02:00
2021-06-14 07:39:01 +02:00
2021-06-14 07:39:01 +02:00
2021-05-01 18:57:10 +02:00
2021-03-21 20:58:32 +01:00
2021-04-22 14:28:33 +02:00
2021-04-03 21:30:50 +02:00
2020-05-23 07:30:22 +02:00
2021-03-21 20:58:32 +01:00
2021-04-03 21:30:50 +02:00
2021-04-03 21:30:50 +02:00
2021-06-19 14:47:35 +02:00
2021-06-19 14:47:35 +02:00
2021-06-12 12:45:31 +02:00
2021-06-12 11:10:35 +02:00
2021-04-30 16:47:02 +02:00
2021-05-01 19:17:07 +02:00
2021-03-21 20:58:32 +01:00
2021-05-08 12:54:18 +02:00
2021-05-02 13:44:37 +02:00
2021-04-03 21:30:50 +02:00
2021-03-21 20:58:32 +01:00
2020-05-19 08:35:12 +02:00
2020-05-23 07:16:49 +02:00
2020-10-03 09:15:56 +02:00
2021-03-21 20:58:32 +01:00
2020-05-10 11:16:32 +02:00
2020-05-29 12:16:04 +02:00
2021-04-26 16:32:44 +02:00
2020-10-03 09:15:56 +02:00
2021-06-19 14:47:35 +02:00
2021-06-09 09:20:43 +02:00
2021-06-09 09:20:43 +02:00
2021-03-21 20:58:32 +01:00
2021-04-30 16:47:02 +02:00
2021-04-30 16:47:02 +02:00
2020-10-03 09:15:56 +02:00
2020-12-20 19:53:58 +01:00
2021-03-21 20:58:32 +01:00
2020-11-06 19:50:05 +01:00
2021-03-21 20:58:32 +01:00
2021-06-27 10:51:32 +02:00
2021-06-03 07:35:50 +02:00
2021-05-23 10:40:09 +02:00
2021-04-25 12:52:09 +02:00
2021-03-21 20:58:32 +01:00
2019-11-20 15:37:09 +01:00
2021-06-14 07:39:01 +02:00
2021-06-14 07:39:01 +02:00
2021-06-26 14:23:39 +02:00
2021-05-08 12:54:18 +02:00
2021-06-24 17:10:06 +02:00
2021-04-30 16:47:02 +02:00
2021-06-14 07:39:41 +02:00
2021-04-03 21:30:50 +02:00
2021-04-03 21:30:50 +02:00
2021-06-26 14:23:39 +02:00
2021-06-05 08:53:15 +02:00
2020-05-10 11:16:32 +02:00
2021-03-21 21:25:54 +01:00