Skip to content
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

feat: add ability to run clangd-tidy over source control diffs #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jmpfar
Copy link

@jmpfar jmpfar commented Dec 28, 2024

  1. Adds a --line-filter argument support similar to clang tidy. This allows filtering of diagnostics on per file and per line range basis
  2. Add clangd-tidy-diff a CLI command similar to clang-tidy-diff, which runs clangd-tidy on all files changed in a unified diff and filters the diagnostics to only contain those from changed lines. This allows easier onboarding for large existing codebases.

@lljbash
Copy link
Owner

lljbash commented Jan 7, 2025

Thank you for your contribution! Unfortunately, I've just completed a major refactor of the codebase. I'll try to merge your changes following the new structure later.

@jmpfar jmpfar changed the title Add ability to run clangd-tidy over source control diffs feat: add ability to run clangd-tidy over source control diffs Jan 7, 2025
@jmpfar
Copy link
Author

jmpfar commented Jan 8, 2025

Thank you for your contribution! Unfortunately, I've just completed a major refactor of the codebase. I'll try to merge your changes following the new structure later.

Sure, no problem
I integrated my changes to the v1.1.x branch on my fork, tell me if you want me to open new pull requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants