data: optimize memory of sqlite database

* use sqlite "VACUUM" after analysis to reduce memory size
* only add filename to name of local symbol
This commit is contained in:
Eberhard Graether
2016-05-31 15:49:12 +02:00
parent da01855b68
commit ab43d309cb
7 changed files with 27 additions and 3 deletions
@@ -1148,7 +1148,7 @@ void ASTVisitor::RecordDeclRef(
{
ParseLocation declLocation = getParseLocation(varDecl->getSourceRange());
std::string name =
declLocation.filePath.str() + "::" +
declLocation.filePath.fileName() + "::" +
varDecl->getNameAsString() + "<" +
std::to_string(declLocation.startLineNumber) + ":" +
std::to_string(declLocation.startColumnNumber) + ">";