| 126 | } |
| 127 | |
| 128 | inline bool operator==(const VariableDecl& lhs, const VariableDecl& rhs) { |
| 129 | return lhs.name() == rhs.name() && lhs.type() == rhs.type() && |
| 130 | lhs.has_value() == rhs.has_value() && lhs.value() == rhs.value(); |
| 131 | } |
| 132 | |
| 133 | inline bool operator!=(const VariableDecl& lhs, const VariableDecl& rhs) { |
| 134 | return !operator==(lhs, rhs); |