macOS
brew install clazylocal Homebrew formula metadata
安装
brew install clazylocal Homebrew formula metadata
sudo apk add clazyAlpine Linux edge package indexes · clazy · 来源: dl-cdn.alpinelinux.org
sudo dnf install clazyFedora Rawhide package metadata · clazy · 来源: dl.fedoraproject.org
nix profile install nixpkgs#clazynixpkgs package indexes · pkgs/by-name/cl/clazy/package.nix · 来源: api.github.com
sudo pacman -S clazyArch Linux sync databases · clazy · 来源: geo.mirror.pkgbuild.com
sudo zypper install clazyopenSUSE Tumbleweed package metadata · clazy · 来源: download.opensuse.org
概览
Qt oriented static code analyzer
历史
Clazy is a Qt-oriented static analyzer built as a Clang compiler plugin and standalone tool. Its upstream README describes it as giving Clang Qt semantics and adding more than 50 Qt-related warnings, including checks for unnecessary allocations, API misuse, and automatic fix-its.
The upstream changelog records a 0.0.1 first release on 2015-06-10 and a 1.0 release on 2016-09-12. Subsequent releases expanded platform support, check coverage, fix-its, and standalone compilation-database use.
Clazy was originally associated with KDAB-oriented Qt development workflows and is now hosted under KDE's SDK namespace. The current KDE project description calls it a Qt-oriented static code analyzer based on the Clang framework.
The README documents Linux, Windows, MacPorts, and Homebrew build paths, and the batch package metadata lists Alpine, Homebrew, Debian, Fedora, Nix, Arch, Ubuntu, and openSUSE packages. That distribution spread reflects adoption by Qt/C++ developers who want analyzer checks packaged with their compiler toolchains.
Release history shows ongoing updates for modern LLVM and Qt versions, including LLVM 19-22 compatibility work, Qt 6 porting changes, and integration into clang-tidy in the 1.16 series.
Clazy is used either as a compiler wrapper/plugin or via clazy-standalone against a JSON compilation database. The README shows CMake and qmake usage, check levels, environment-variable and compiler-argument selection of checks, fix-it support, and warning-noise controls.
Clazy is a classic packaging edge case: it sits at the intersection of Qt, Clang/LLVM ABI compatibility, compiler plugins, IDE integration, and distro compiler versions. Package maintainers care because a clazy build must match supported LLVM/Clang ranges while still being useful across Qt 5 and Qt 6 codebases.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
clazy | cli | 全局可执行文件 | |
clazy-standalone | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:clazy |
|---|---|
| 版本 | 1.17.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/clazy |
| 主页 | https://www.kdab.com/ |
| 仓库 | https://invent.kde.org/sdk/clazy |
| 上游文档 | https://invent.kde.org/sdk/clazy/-/blob/master/README.md |
| 许可证 | LGPL-2.0-or-later |
| 源码归档 | https://invent.kde.org/sdk/clazy/-/archive/v1.17.1/clazy-v1.17.1.tar.gz |
| 依赖 | coreutils, llvm |
| 构建依赖 | cmake |
| 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 | clazy |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
clazy 1.14-1
Clang plugin for additional warnings
https://www.kdab.com/clazy-video/
sudo apt install clazyclazy-tests 1.14-1
test files for Clazy
https://www.kdab.com/clazy-video/
sudo apt install clazy-testsclazy
nix profile install nixpkgs#clazyclazy 1.11-4ubuntu2
Clang plugin for additional warnings
https://www.kdab.com/clazy-video/
sudo apt install clazyclazy-tests 1.11-4ubuntu2
test files for Clazy
https://www.kdab.com/clazy-video/
sudo apt install clazy-testsclazy 1.17.1-r1
Qt oriented code checker based on clang framework
https://invent.kde.org/sdk/clazy
sudo apk add clazyclazy-doc 1.17.1-r1
Qt oriented code checker based on clang framework (documentation)
https://invent.kde.org/sdk/clazy
sudo apk add clazy-docclazy 1.17-2.fc45
Qt oriented code checker based on clang framework
https://invent.kde.org/sdk/clazy
sudo dnf install clazyclazy 1.17.1-1
Qt oriented code checker based on clang framework
sudo pacman -S clazyclazy 1.17.1-1.6
Qt oriented code checker based on the Clang framework
sudo zypper install clazy来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.