Rikard Falkeborn
52264b9c26
Fix #11401 nullpointer dereference with alignof ( #4601 )
...
* checknullpointer: Don't report dereference with alignof
* Refactor unevaluating operator check in checknullpointer
Unifying these ensures the different checks treat the operators the
same.
* Fix FP with _Alignof and null pointer
Just like alignof, _Alignof does not evaluate its operand.
* CheckNullPointer: Also support compiler specific alignof
This fixes #11401 which is about __alignof__. For good measure, also add
the microsoft extensions __alignof and _alignof.
2022-11-27 09:20:19 +01:00
..
2022-10-16 13:51:17 +02:00
2022-09-21 17:38:23 +02:00
2022-08-28 14:22:12 +02:00
2022-10-06 20:12:07 +02:00
2022-10-02 07:12:40 +02:00
2022-05-09 20:27:32 +02:00
2022-05-21 12:18:27 +02:00
2022-10-16 13:46:26 +02:00
2022-09-16 18:59:15 +02:00
2022-10-12 07:51:50 +02:00
2022-05-21 12:18:27 +02:00
2022-10-22 00:27:30 +02:00
2022-09-14 07:28:04 +02:00
2022-10-02 07:12:40 +02:00
2022-07-11 22:58:37 +02:00
2022-05-21 12:18:27 +02:00
2022-10-02 07:12:40 +02:00
2022-08-20 07:56:31 +02:00
2022-11-13 23:04:51 +01:00
2022-11-05 10:48:34 +01:00
2022-10-16 13:46:26 +02:00
2022-10-09 21:03:48 +02:00
2022-09-27 06:48:06 +02:00
2022-10-20 19:11:15 +02:00
2022-09-03 23:29:06 +02:00
2022-10-02 07:12:40 +02:00
2022-09-25 09:20:34 +02:00
2022-10-02 07:12:40 +02:00
2022-06-07 21:25:23 +02:00
2022-11-26 15:45:27 +01:00
2022-11-19 16:49:34 +01:00
2022-10-10 20:17:33 +02:00
2022-09-27 20:09:04 +02:00
2022-11-27 09:20:19 +01:00
2022-07-10 10:57:29 +02:00
2022-11-18 19:44:32 +01:00
2022-11-01 11:46:42 +01:00
2022-05-21 12:18:27 +02:00
2022-10-16 13:46:26 +02:00
2022-05-21 12:18:27 +02:00
2022-10-16 13:46:26 +02:00
2022-08-20 20:52:10 +02:00
2022-07-11 23:07:37 +02:00
2022-05-21 12:18:27 +02:00
2022-09-16 07:15:49 +02:00
2022-10-02 07:12:40 +02:00
2022-04-27 17:37:37 +02:00
2022-10-06 20:12:07 +02:00
2022-10-06 20:12:07 +02:00
2022-10-16 13:46:26 +02:00
2022-09-16 07:15:49 +02:00
2022-05-21 12:18:27 +02:00
2022-10-16 13:46:26 +02:00
2022-08-21 17:21:02 +02:00
2022-09-24 11:59:13 +02:00
2022-08-20 20:54:31 +02:00
2022-11-20 12:30:09 +01:00
2022-09-25 09:20:34 +02:00
2022-08-21 17:21:02 +02:00
2022-08-21 17:21:02 +02:00
2022-11-23 19:11:47 +01:00
2022-09-16 18:59:15 +02:00
2022-10-02 07:12:40 +02:00
2022-09-29 21:47:17 +02:00
2022-07-28 22:51:45 +02:00
2022-11-12 22:36:26 +01:00
2022-11-12 12:47:54 +01:00
2022-10-31 15:04:16 +01:00
2022-09-29 21:59:02 +02:00
2022-09-08 09:21:35 +02:00
2022-04-11 07:31:33 +02:00
2022-10-16 13:46:26 +02:00
2022-10-06 20:12:07 +02:00
2022-10-31 15:18:25 +01:00
2022-08-19 20:44:24 +02:00
2022-10-06 20:12:07 +02:00
2022-10-06 20:12:07 +02:00
2022-10-02 07:12:40 +02:00
2022-03-02 07:46:47 +01:00
2022-08-14 12:44:19 +02:00
2022-07-28 22:51:45 +02:00
2022-08-14 12:44:19 +02:00
2022-10-02 07:12:40 +02:00
2022-10-16 13:46:26 +02:00
2022-08-14 12:44:19 +02:00
2022-10-02 07:12:40 +02:00
2022-10-16 13:51:17 +02:00
2022-10-02 07:12:40 +02:00
2022-11-20 12:30:09 +01:00
2022-10-31 15:04:16 +01:00
2022-10-16 13:51:17 +02:00
2022-09-16 21:36:37 +02:00
2022-04-15 16:17:36 +02:00
2022-10-02 07:12:40 +02:00
2022-09-16 07:15:49 +02:00
2022-09-16 18:59:15 +02:00
2022-11-14 21:08:15 +01:00
2022-10-16 13:46:26 +02:00
2022-10-22 00:28:33 +02:00
2022-08-28 14:22:12 +02:00
2022-08-28 14:22:12 +02:00
2022-08-23 20:30:45 +02:00
2022-10-19 07:25:15 +02:00
2022-10-16 13:51:17 +02:00
2022-11-23 20:15:10 +01:00
2022-08-14 12:44:19 +02:00
2022-11-20 12:30:09 +01:00
2022-11-13 21:20:44 +01:00
2022-09-25 09:20:34 +02:00
2022-10-02 07:12:40 +02:00
2022-10-16 13:46:26 +02:00
2022-10-16 13:46:26 +02:00
2022-10-31 15:18:25 +01:00
2022-10-16 13:51:17 +02:00
2022-09-09 21:02:04 +02:00