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:
@@ -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) + ">";
|
||||
|
||||
Reference in New Issue
Block a user