@@ -24,13 +24,12 @@ Fetcher::Fetcher(Options options,
24
24
const std::shared_ptr<CompilationDatabase> &compilationDatabase,
25
25
tests::TestsMap &tests,
26
26
types::TypeMaps *types,
27
- size_t *pointerSize,
28
27
size_t *maximumAlignment,
29
28
const fs::path &compileCommandsJsonPath,
30
29
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) {
34
33
buildRootPath = Paths::subtractPath (compileCommandsJsonPath.string (), CompilationUtils::UTBOT_BUILD_DIR_NAME);
35
34
if (options.has (Options::Value::TYPE)) {
36
35
addMatcher<TypeDeclsMatchCallback>(anyTypeDeclarationMatcher);
@@ -83,6 +82,7 @@ void Fetcher::fetchWithProgress(const ProgressWriter *progressWriter,
83
82
84
83
void Fetcher::postProcess () const {
85
84
if (options.has (Options::Value::FUNCTION) && maximumAlignment != nullptr ) {
85
+ // TODO maybe this is useless?
86
86
for (auto projectTestsIterator = projectTests->begin ();
87
87
projectTestsIterator != projectTests->end (); projectTestsIterator++) {
88
88
tests::Tests &tests = projectTestsIterator.value ();
0 commit comments