Skip to content

Add clang-format 14 workflow and pre-commit hook - #910

Merged
santhoshsivanhere merged 2 commits into
masterfrom
dev_dlt_clang_workflow
Aug 27, 2026
Merged

Add clang-format 14 workflow and pre-commit hook#910
santhoshsivanhere merged 2 commits into
masterfrom
dev_dlt_clang_workflow

Conversation

@minminlittleshrimp

Copy link
Copy Markdown
Collaborator
  • Modernize .clang-format to WebKit-based style with clang 14 keys
  • Add scripts/run_lint.sh (check/fix) for local and CI use
  • Add .githooks/pre-commit delegating to run_lint.sh
  • Add .github/workflows/clang-format.yml (ubuntu-22.04, clang-format-14)
  • Document clang-format setup in README.md

@minminlittleshrimp
minminlittleshrimp force-pushed the dev_dlt_clang_workflow branch 2 times, most recently from 1a38ccc to 26019a3 Compare August 25, 2026 19:28
- Modernize .clang-format to WebKit-based style with clang 14 keys
- Add run_lint.sh (auto/check/fix) for local and CI use
- Add .githooks/pre-commit delegating to run_lint.sh
- Document clang-format setup in README.md

Signed-off-by: LUU QUANG MINH <Minh.LuuQuang@vn.bosch.com>
@minminlittleshrimp
minminlittleshrimp force-pushed the dev_dlt_clang_workflow branch 2 times, most recently from b1117c6 to 71d2316 Compare August 25, 2026 19:44
- Reformat all C/C++ source files with clang-format 14
- Add .github/workflows/clang-format.yml CI workflow
- 130 files reformatted, no functional changes

Signed-off-by: LUU QUANG MINH <Minh.LuuQuang@vn.bosch.com>
@santhoshsivanhere
santhoshsivanhere merged commit 0dd96ab into master Aug 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants