forked from qt-creator/qt-creator
Clang: Locator filter for the symbol database
There are no symbol queries for the locator filters. The signature generation is still not implemented but for simple cases it should work. Change-Id: Ic6b04fbe1e7e057892f194ac139615c47d6ec33f Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -210,11 +210,12 @@ public:
|
||||
{
|
||||
WriteStatement &statement = m_statementFactory.insertLocationsToNewLocationsStatement;
|
||||
|
||||
for (const auto &locationsEntry : sourceLocations) {
|
||||
statement.write(locationsEntry.symbolId,
|
||||
locationsEntry.lineColumn.line,
|
||||
locationsEntry.lineColumn.column,
|
||||
locationsEntry.filePathId.filePathId);
|
||||
for (const auto &locationEntry : sourceLocations) {
|
||||
statement.write(locationEntry.symbolId,
|
||||
locationEntry.lineColumn.line,
|
||||
locationEntry.lineColumn.column,
|
||||
locationEntry.filePathId.filePathId,
|
||||
int(locationEntry.kind));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user