* showing project name in main window title * keep reference count visible when maximizing code file * show first node in db when no main function is available * log Storage stats after parse * fixed macro locations saved multiply * using NameHierarchy when retrieving ids
20 lines
398 B
C++
20 lines
398 B
C++
#include "TestStorage.h"
|
|
|
|
#include "utility/text/TextAccess.h"
|
|
#include "data/parser/cxx/CxxParser.h"
|
|
#include "TestFileManager.h"
|
|
|
|
TestStorage::TestStorage()
|
|
: Storage("data/test.sqlite")
|
|
{
|
|
}
|
|
|
|
void TestStorage::parseCxxCode(std::string code)
|
|
{
|
|
clear();
|
|
|
|
TestFileManager fm;
|
|
CxxParser parser(this, &fm);
|
|
parser.parseFile("input.cc", TextAccess::createFromString(code), Parser::Arguments());
|
|
}
|