Skip to content

Bundle clang-format 22.1.8 for Windows - #43

Merged
Rbb666 merged 1 commit into
RT-Thread:mainfrom
CYFS3:add-clang-format-22.1.8
Nov 16, 2026
Merged

Rbb666 merged 1 commit into
RT-Thread:mainfrom
CYFS3:add-clang-format-22.1.8

Conversation

@CYFS3

@CYFS3 CYFS3 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

为什么提交这份PR (why to submit this PR)

Env for Windows 尚未内置固定版本的 clang-format,用户需要额外安装工具,且不同版本可能产生不一致的格式化结果。

你的解决方案是什么 (what is your solution)

  • 集成 LLVM 官方 Windows x64 clang-format 22.1.8,直接放入已有 tools/bin 搜索路径,无需额外安装 LLVM 或 VC++ 运行库。
  • 附带许可证、来源、SHA-256 校验值及单文件格式化使用说明。
  • format-changed 命令由 RT-Thread/env 仓库单独维护(https://github.com/RT-Thread/env/pull/303),本 PR 只包含程序和文档,不包含命令脚本或测试文件。
  • 已验证版本、二进制校验值、格式化行为及 git diff --check。

@CYFS3
CYFS3 marked this pull request as draft October 29, 2026 10:04
@CYFS3 CYFS3 changed the title Add clang-format 22.1.8 and changed-file formatting command Bundle clang-format 22.1.8 for Windows Oct 29, 2026
@CYFS3
CYFS3 force-pushed the add-clang-format-22.1.8 branch from d3cc15e to e70bf95 Compare November 6, 2026 09:17
@CYFS3
CYFS3 marked this pull request as ready for review November 6, 2026 09:19
@Rbb666
Rbb666 merged commit b05dc04 into RT-Thread:main Nov 16, 2026
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