| 238 | } |
| 239 | |
| 240 | bool AttributeQualifier::operator<(const AttributeQualifier& other) const { |
| 241 | // The order is not publicly documented because it is subject to change. |
| 242 | // Currently we sort in the following order, with each type being sorted |
| 243 | // against itself: bool, int, uint, string, type. |
| 244 | return absl::visit(ComparatorVisitor{other.value_}, value_); |
| 245 | } |
| 246 | |
| 247 | bool Attribute::operator==(const Attribute& other) const { |
| 248 | // We cannot check pointer equality as a short circuit because we have to |
nothing calls this directly
no test coverage detected