forked from qt-creator/qt-creator
CppTools: Open InsertionPointLocator::methodDefinition for symbols
Remove restricted use of declarations and add an option to define if SymbolFinder should be used to find a matching definition for symbol. Change-Id: If5cf5b11926e116766dd60dd3726b4fcf2e1c9f5 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
1738ff64a6
commit
cc1b66f1cc
@@ -98,7 +98,8 @@ public:
|
||||
const CPlusPlus::Class *clazz,
|
||||
AccessSpec xsSpec) const;
|
||||
|
||||
QList<InsertionLocation> methodDefinition(CPlusPlus::Declaration *declaration) const;
|
||||
QList<InsertionLocation> methodDefinition(CPlusPlus::Symbol *declaration,
|
||||
bool useSymbolFinder = true) const;
|
||||
|
||||
private:
|
||||
CppRefactoringChanges m_refactoringChanges;
|
||||
|
||||
Reference in New Issue
Block a user