Skip to content

Remove code duplication for regex handling in lobster-cpp #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phiwuu
Copy link
Member

@phiwuu phiwuu commented Jun 2, 2025

The code part that matches the output lines from clang tidy against regex contained code duplications. These parts have been moved into a separate helper class to increase the maintainability of the code.

This is a pure refactoring without change of functionality, but adds unit tests.

@phiwuu phiwuu self-assigned this Jun 2, 2025
@phiwuu phiwuu requested a review from a team as a code owner June 2, 2025 11:10
@phiwuu phiwuu added the internal Affects the CI, tests or refactorings only, not relevant to the end-user label Jun 2, 2025
@phiwuu phiwuu force-pushed the internal/cpp-cleanup branch 15 times, most recently from 8c025b1 to 317b230 Compare June 2, 2025 20:37
The code part that matches the output lines from clang tidy against regex
contained code duplications. These parts have been moved into a separate
helper class to increase the maintainability of the code.

This is a pure refactoring without change of functionality, but adds unit tests.
@phiwuu phiwuu force-pushed the internal/cpp-cleanup branch from 317b230 to ed47f2b Compare June 2, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Affects the CI, tests or refactorings only, not relevant to the end-user
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant