@@ -24,13 +24,12 @@ Fetcher::Fetcher(Options options,
2424                 const  std::shared_ptr<CompilationDatabase> &compilationDatabase,
2525                 tests::TestsMap &tests,
2626                 types::TypeMaps *types,
27-                  size_t  *pointerSize,
2827                 size_t  *maximumAlignment,
2928                 const  fs::path &compileCommandsJsonPath,
3029                 bool  fetchFunctionBodies)
31-     : options(options), projectTests(&tests), projectTypes(types),
32-       pointerSize(pointerSize ), maximumAlignment(maximumAlignment ),
33-       fetchFunctionBodies(fetchFunctionBodies),  clangToolRunner(compilationDatabase) {
30+          : options(options), projectTests(&tests), projectTypes(types),
31+           maximumAlignment(maximumAlignment ), fetchFunctionBodies(fetchFunctionBodies ),
32+            clangToolRunner(compilationDatabase) {
3433    buildRootPath = Paths::subtractPath (compileCommandsJsonPath.string (), CompilationUtils::UTBOT_BUILD_DIR_NAME);
3534    if  (options.has (Options::Value::TYPE)) {
3635        addMatcher<TypeDeclsMatchCallback>(anyTypeDeclarationMatcher);
@@ -83,6 +82,7 @@ void Fetcher::fetchWithProgress(const ProgressWriter *progressWriter,
8382
8483void  Fetcher::postProcess () const  {
8584    if  (options.has (Options::Value::FUNCTION) && maximumAlignment != nullptr ) {
85+         //  TODO maybe this is useless?
8686        for  (auto  projectTestsIterator = projectTests->begin ();
8787             projectTestsIterator != projectTests->end (); projectTestsIterator++) {
8888            tests::Tests &tests = projectTestsIterator.value ();
0 commit comments