Skip to main content

is_c_offsetof_member_node

Function is_c_offsetof_member_node 

Source
pub fn is_c_offsetof_member_node(node: Node<'_>) -> bool
Expand description

Whether node is the member leaf of an offsetof_expression, including a malformed type operand. Callers use this guard to prevent the ordinary field-name heuristics from guessing an owner after structured resolution has failed.