================
@@ -40,6 +44,8 @@ class EntityId {
   bool operator==(const EntityId &Other) const { return Index == Other.Index; }
   bool operator<(const EntityId &Other) const { return Index < Other.Index; }
   bool operator!=(const EntityId &Other) const { return !(*this == Other); }
+
+  friend llvm::raw_ostream &operator<<(llvm::raw_ostream &, const EntityId &);
----------------
steakhal wrote:

Yes, it's possible. That is pretty much what I do with `PrintTo`. I have no 
strong opinion so I'll just drop this.

https://github.com/llvm/llvm-project/pull/180779
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to