CppEditor: Use TypeHierarchyBuilder in FunctionHelper::overrides

...instead going the way over CppClass. This makes
FunctionHelper::overrides independent of the cppeditor plugin.

Change-Id: Ifaedb94da1f67b3876e06cce9e745aaf3c1050a7
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2013-12-10 10:47:41 +01:00
parent af995ca1b8
commit e6b41d7e2f
2 changed files with 17 additions and 12 deletions

View File

@@ -53,6 +53,9 @@ public:
CPlusPlus::Symbol *symbol() const;
const QList<TypeHierarchy> &hierarchy() const;
bool operator==(const TypeHierarchy &other) const
{ return _symbol == other._symbol; }
private:
CPlusPlus::Symbol *_symbol;
QList<TypeHierarchy> _hierarchy;