针对你的问题“code should be clang-formatted”,以下是详细的步骤和解释,帮助你使用ClangFormat工具来格式化代码: 1. 安装ClangFormat工具 首先,你需要在你的系统中安装ClangFormat工具。安装方法取决于你的操作系统: 在Ubuntu上: bash sudo apt-get install clang-format 在macOS上: 你可以使用Homebrew来安装: ...
As of https://reviews.llvm.org/D93839, clang-format can produce different formatted files depending on amount of whitespace. For example, given (A): #include <stdint.h> namespace fuzzing {} clang-format with this patch would produced (B): #include <stdint.h> namespace fuzzing { } ...
Notifications Fork 1.2k Star 12.4k New issue fix: code should be clang-formatted #7184 Merged ckerr merged 1 commit into transmission:main from Coeur:coeur/clang-formatted Oct 21, 2024 +14 −6 Conversation 0 Commits 1 Checks 27 Files changed 3 fix: code should be clang-formatted ...