macOS
brew install clang-format@11local Homebrew formula metadata
安装
brew install clang-format@11local Homebrew formula metadata
sudo apt install clang-formatDebian stable package indexes · clang-format · 来源: deb.debian.org
概览
Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript
历史
clang-format@11 is the versioned Homebrew packaging of LLVM/Clang's formatter for the LLVM 11 era. It exists for projects that need the formatting behavior of that major release instead of whichever clang-format happens to be newest.
The underlying clang-format tool predates LLVM 11, but the 11.1.0 documentation captures the feature set and command-line behavior for that release line. It documents clang-format as a LibFormat-based standalone tool with editor integrations and project-local .clang-format or _clang-format configuration.
Versioned clang-format packages are useful because formatter output can change across LLVM releases. The supplied package-manager data lists Homebrew clang-format@11 as well as Debian and Ubuntu clang-format packaging, reflecting the need to install or pin specific major versions in build and CI environments.
Users run clang-format-11 or git-clang-format-11 from the Homebrew package when a project requires LLVM 11 formatting. Configuration remains project-local via .clang-format or _clang-format, with -style=file and -dump-config documented in the LLVM 11 manual.
The package is significant as a version pin rather than a separate upstream. Formatting is often treated as a build contract, so package managers keep older clang-format majors available to avoid style churn in long-lived C, C++, Objective-C, Java, JavaScript, Protobuf, and C# repositories.
安全态势
没有找到 clang-format@11 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.clang-format_clang-format可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clang-format-11 | cli | 全局可执行文件 | |
git-clang-format-11 | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/llvm/llvm-project
安装元数据
| 软件包键 | brew:clang-format@11 |
|---|---|
| 版本 | 11.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/clang-format@11 |
| 主页 | https://clang.llvm.org/docs/ClangFormat.html |
| 仓库 | https://github.com/llvm/llvm-project |
| 上游文档 | https://releases.llvm.org/11.1.0/tools/clang/docs/ClangFormat.html |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-11.1.0.src.tar.xz |
| 最后更新 | 2026-05-19T13:03:28-04:00 |
| Pulse | updated |
| 构建依赖 | cmake |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | clang-format@11 |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
clang-format 1:19.0-63
Tool to format C/C++/Obj-C code
sudo apt install clang-formatclang-format 1:18.0-59~exp2
Tool to format C/C++/Obj-C code
sudo apt install clang-format来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.