feat: update clang to 21.1.8#1294
Conversation
|
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 23 | 0 | 0 | 0.21s | |
| ✅ DOCKERFILE | hadolint | 3 | 0 | 0 | 0.3s | |
| ✅ JSON | npm-package-json-lint | yes | no | no | 0.58s | |
| ✅ JSON | prettier | 21 | 4 | 0 | 0 | 0.71s |
| ✅ JSON | v8r | 21 | 0 | 0 | 12.08s | |
| ✅ MARKDOWN | markdownlint | 12 | 0 | 0 | 0 | 1.08s |
| ✅ MARKDOWN | markdown-table-formatter | 12 | 0 | 0 | 0 | 0.26s |
| ✅ REPOSITORY | checkov | yes | no | no | 25.18s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 1.06s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | |
| ✅ REPOSITORY | grype | yes | no | no | 58.41s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 2.01s | |
| ✅ REPOSITORY | syft | yes | no | no | 2.13s | |
| ✅ REPOSITORY | trivy | yes | no | no | 13.46s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 0.44s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 7.09s | |
| lychee | 83 | 1 | 0 | 21.52s | ||
| ✅ YAML | prettier | 31 | 0 | 0 | 0 | 1.1s |
| ✅ YAML | v8r | 31 | 0 | 0 | 11.93s | |
| ✅ YAML | yamllint | 31 | 0 | 0 | 1.36s |
Detailed Issues
⚠️ SPELL / lychee - 1 error
[IGNORED] docker://pandoc/extra:3.9.0.0-ubuntu@sha256:72afa9c8d3300e5f10c9c4330e101725687f2179bffd912fb859c6d2ae85de62 | Unsupported: Error creating request client: builder error for url (docker://pandoc/extra:3.9.0.0-ubuntu@sha256:72afa9c8d3300e5f10c9c4330e101725687f2179bffd912fb859c6d2ae85de62)
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads | Network error: Forbidden
[IGNORED] https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/philips-software/amp-devcontainer | Unsupported: Error creating request client: builder error for url (vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/philips-software/amp-devcontainer)
📝 Summary
---------------------
🔍 Total..........126
✅ Successful.....123
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........1
Errors in .github/TOOL_VERSION_ISSUE_TEMPLATE.md
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads | Network error: Forbidden
See detailed reports in MegaLinter artifacts
You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:
- oxsecurity/megalinter/flavors/salesforce@v9.4.0 (58 linters)
- oxsecurity/megalinter/flavors/javascript@v9.4.0 (61 linters)
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,DOCKERFILE_HADOLINT,JSON_V8R,JSON_PRETTIER,JSON_NPM_PACKAGE_JSON_LINT,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

Show us your support by starring ⭐ the repository
📦 Container Size AnalysisNote Comparing 📈 Size Comparison Table
|
There was a problem hiding this comment.
Pull request overview
Updates the C++ devcontainer toolchain to Clang/LLVM 21.1.8 (and related tooling) to keep the container aligned with the latest supported compiler stack on the current Ubuntu base.
Changes:
- Bump the C++ container’s
CLANG_VERSIONdefault from 20 → 21. - Update pinned APT package set for the Clang toolchain from
*-20to*-21at version21.1.8-6ubuntu1. - Bump Include-What-You-Use from
0.24→0.25.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.devcontainer/cpp/Dockerfile |
Sets default tool versions to Clang 21 and IWYU 0.25 for the C++ flavor image build. |
.devcontainer/cpp/apt-requirements-clang.json |
Updates the pinned Clang/LLVM-related APT package names and versions to the 21.1.8 release line. |
📦 Container Size AnalysisNote Comparing 📈 Size Comparison Table
|
📦 Container Size AnalysisNote Comparing 📈 Size Comparison Table
|
Pull Request Report (#1294)Static measures
Time related measures
Status check related measures
|
|
🎉 Hooray! The changes in this pull request went live with the release of v7.1.0 🎉 |



🚀 Hey, I have created a Pull Request
Description of changes
This pull request updates the C++ development container to use Clang version 21 and the latest version of Include-What-You-Use, ensuring the environment is up to date with the latest compiler and tooling versions.
Development environment updates:
.devcontainer/cpp/Dockerfileand theapt-requirements-clang.jsonpackage list, including all related tools and libraries (clang,clangd,clang-format,clang-tidy,clang-tools,libclang-rt,lld,llvm, andmull). [1] [2]INCLUDE_WHAT_YOU_USE_VERSIONfrom 0.24 to 0.25 in the Dockerfile to use the latest version of this tool.✔️ Checklist