forked from qt-creator/qt-creator
Clang: Add symbol indexer
Change-Id: I8ff879631ae022bc870431628be002903360369c Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -70,6 +70,15 @@ public:
|
||||
uint line = 0;
|
||||
uint column = 0;
|
||||
SymbolType symbolType;
|
||||
|
||||
friend bool operator==(const SourceLocationEntry &first, const SourceLocationEntry &second)
|
||||
{
|
||||
return first.symbolId == second.symbolId
|
||||
&& first.fileId == second.fileId
|
||||
&& first.line == second.line
|
||||
&& first.column == second.column
|
||||
&& first.symbolType == second.symbolType;
|
||||
}
|
||||
};
|
||||
|
||||
using SourceLocationEntries = std::vector<SourceLocationEntry>;
|
||||
|
||||
Reference in New Issue
Block a user