Document the way operator names are represented as `Identifier` structs.
I am thinking eventually this should be added as a big enum and plugged into UnqualifiedIdentifier, via SpecialName probably.
PiperOrigin-RevId: 426509588
diff --git a/rs_bindings_from_cc/ir.h b/rs_bindings_from_cc/ir.h
index ce34a40..7e8598e 100644
--- a/rs_bindings_from_cc/ir.h
+++ b/rs_bindings_from_cc/ir.h
@@ -193,9 +193,15 @@
// An identifier involved in bindings.
//
-// Examples:
-// Identifier of C++'s `int32_t Add(int32_t a, int32_t b)` will be
-// `Identifier("add")`.
+// For example, the identifier for the C++ function `int Add(int a, int b);`
+// is `Identifier("Add")`.
+//
+// This also includes operator names, such as "operator==". Non-symbol tokens in
+// the operator name are separated by a single space. For example:
+//
+// * `Identifier("operator==")`
+// * `Identifier("operator new[]")`
+// * `Identifier("operator co_await")`
//
// Invariants:
// `identifier` cannot be empty.