Skip to content

[Algorithm] Remove unused parser and TableView utilities#15558

Open
sawenzel wants to merge 1 commit into
AliceO2Group:devfrom
sawenzel:cleanup/remove-unused-algorithm-parser
Open

[Algorithm] Remove unused parser and TableView utilities#15558
sawenzel wants to merge 1 commit into
AliceO2Group:devfrom
sawenzel:cleanup/remove-unused-algorithm-parser

Conversation

@sawenzel

Copy link
Copy Markdown
Collaborator

A small cleanup. The header-only utilities Parser.h (ForwardParser/ReverseParser), TableView.h, O2FormatParser.h and PageParser.h in the Algorithm module have no callers: the only o2::algorithm:: symbol used anywhere outside the module — in AliceO2 and O2Physics — is flatten (from FlattenRestore.h). These four headers are referenced only by their own unit tests, and the #include "Algorithm/Parser.h" lines in GPU/TPC sources reference none of their symbols (stale includes).

This removes the unused headers, their tests, the corresponding o2_add_test entries, and the 5 stale includes. The actively-used parts of the module (RangeTokenizer.h, FlattenRestore.h, HeaderStack.h, mpl_tools.h) are untouched. Pure dead-code removal — no behavioural change.

🤖 Generated with Claude Code

The header-only utilities Parser.h (ForwardParser/ReverseParser),
TableView.h, O2FormatParser.h and PageParser.h have no users: the only
o2::algorithm:: symbol referenced anywhere outside the module (across
AliceO2 and O2Physics) is flatten, from FlattenRestore.h. These four
headers are exercised solely by their own unit tests, and the
#include "Algorithm/Parser.h" lines in GPU/TPC sources reference none of
their symbols.

Remove the headers, their tests, the corresponding o2_add_test entries,
and the stale includes. RangeTokenizer.h, FlattenRestore.h, HeaderStack.h
and mpl_tools.h (the parts actually in use) are untouched.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sawenzel sawenzel force-pushed the cleanup/remove-unused-algorithm-parser branch from 6c7d348 to 616c54d Compare June 25, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant