danix800 53f75425b3 [analyzer] Explicit cast on customized offsetof should not be ignored when evaluating as const
If ignored, the subexpr is a UnaryOperator (&) which cannot be evaluated
(assertion failed).

  #define offsetof(type,memb) ((unsigned long)&((type*)0)->memb)

Patch By danix800!

Differential Revision: https://reviews.llvm.org/D144780
2023-03-07 08:41:30 +01:00
..
2022-05-26 14:00:27 +02:00
2022-11-08 07:21:23 -05:00
2021-08-10 19:19:27 +03:00