MCPcopy Create free account
hub / github.com/MaskRay/ccls / operator<

Method operator<

src/messages/textDocument_document.cc:32–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 Role role = Role::None;
31
32 bool operator<(const DocumentHighlight &o) const { return !(range == o.range) ? range < o.range : kind < o.kind; }
33};
34REFLECT_STRUCT(DocumentHighlight, range, kind, role);
35} // namespace

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected