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-08-28 14:22:12 +02:00
2022-10-06 20:12:07 +02:00
2022-05-21 12:18:27 +02:00
2022-05-21 12:18:27 +02:00
2022-05-21 12:18:27 +02:00
2022-11-13 23:04:51 +01:00
2022-09-27 06:48:06 +02:00
2022-05-21 12:18:27 +02:00
2022-05-21 12:18:27 +02:00
2022-05-21 12:18:27 +02:00
2022-05-21 12:18:27 +02:00
2022-11-20 12:30:09 +01:00
2022-11-12 22:36:26 +01:00
2022-10-06 20:12:07 +02:00
2022-10-06 20:12:07 +02:00
2022-10-06 20:12:07 +02:00
2022-11-20 12:30:09 +01:00
2022-08-28 14:22:12 +02:00
2022-08-28 14:22:12 +02:00