diff options
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r-- | src/hir/type.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp index 82b77067..793dce4d 100644 --- a/src/hir/type.hpp +++ b/src/hir/type.hpp @@ -149,6 +149,9 @@ public: TypeRef clone() const; void fmt(::std::ostream& os) const; + + bool operator==(const ::HIR::TypeRef& x) const; + bool operator!=(const ::HIR::TypeRef& x) const { return !(*this == x); } }; extern ::std::ostream& operator<<(::std::ostream& os, const ::HIR::TypeRef& ty); |