[clang] WIP [clang][ssaf] Add TUSummaryBuilder and testing features (PR #180779)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 10 12:49:10 PST 2026


================
@@ -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


More information about the cfe-commits mailing list