diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-04 12:23:10 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-04 12:23:10 +0800 |
commit | ca59f1e56b2fb221a86b53f75708b36524cc7274 (patch) | |
tree | b6c580f3f28be3bf94dbfb0572f1e607752c7ced /src/hir/path.hpp | |
parent | 06f283b0a4c9b3e22bce6041d8345f1be53f13b0 (diff) | |
download | mrust-ca59f1e56b2fb221a86b53f75708b36524cc7274.tar.gz |
HIR - Restructure _Unsize handling to operate on pointers
Diffstat (limited to 'src/hir/path.hpp')
-rw-r--r-- | src/hir/path.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hir/path.hpp b/src/hir/path.hpp index a4ee9ca1..57a8330b 100644 --- a/src/hir/path.hpp +++ b/src/hir/path.hpp @@ -89,6 +89,8 @@ struct PathParams PathParams(PathParams&&) = default; PathParams& operator=(PathParams&&) = default; + Compare compare_with_placeholders(const Span& sp, const PathParams& x, t_cb_resolve_type resolve_placeholder) const; + bool operator==(const PathParams& x) const; bool operator!=(const PathParams& x) const { return !(*this == x); } bool operator<(const PathParams& x) const { return ord(x) == OrdLess; } @@ -111,6 +113,7 @@ public: GenericPath(::HIR::SimplePath sp, ::HIR::PathParams params); GenericPath clone() const; + Compare compare_with_placeholders(const Span& sp, const GenericPath& x, t_cb_resolve_type resolve_placeholder) const; bool operator==(const GenericPath& x) const; bool operator!=(const GenericPath& x) const { return !(*this == x); } @@ -136,6 +139,8 @@ public: const ::HIR::Trait* m_trait_ptr; TraitPath clone() const; + Compare compare_with_placeholders(const Span& sp, const TraitPath& x, t_cb_resolve_type resolve_placeholder) const; + bool operator==(const TraitPath& x) const; bool operator!=(const TraitPath& x) const { return !(*this == x); } |