forked from qt-creator/qt-creator
Clang: add globalFollowSymbol to RefactoringEngine
Allows to follow outside of current TU. Change-Id: Ieea2fd72bfdf6d60a988b40efcf2f41c5a71d045 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -37,6 +37,7 @@ namespace CppTools {
|
||||
class Usage
|
||||
{
|
||||
public:
|
||||
Usage() {}
|
||||
Usage(Utils::SmallStringView path, int line, int column)
|
||||
: path(QString::fromUtf8(path.data(), int(path.size()))),
|
||||
line(line),
|
||||
@@ -52,8 +53,8 @@ public:
|
||||
|
||||
public:
|
||||
QString path;
|
||||
int line;
|
||||
int column;
|
||||
int line = 0;
|
||||
int column = 0;
|
||||
};
|
||||
|
||||
using Usages = std::vector<Usage>;
|
||||
|
||||
Reference in New Issue
Block a user