forked from qt-creator/qt-creator
Clang: Store the symbol kind in the database
It is cleaning up some other stuff too. Change-Id: I75274356fd35f2ee8c84aedf8839c67506ab2355 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -63,7 +63,9 @@ public:
|
||||
table.addColumn("symbolId", Sqlite::ColumnType::Integer, Sqlite::Contraint::PrimaryKey);
|
||||
const Sqlite::Column &usrColumn = table.addColumn("usr", Sqlite::ColumnType::Text);
|
||||
table.addColumn("symbolName", Sqlite::ColumnType::Text);
|
||||
const Sqlite::Column &symbolKindColumn = table.addColumn("symbolKind", Sqlite::ColumnType::Integer);
|
||||
table.addIndex({usrColumn});
|
||||
table.addIndex({symbolKindColumn});
|
||||
|
||||
table.initialize(database);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user