clang-format
Tool to format C/C++/Obj-C code
Command lineDevelopmentLinters, formatters and code tools
Not tested on a device yet. What that means
clang-format in Breadstick
Breadstick runs Debian's own clang-format package for ARM64, the build a Debian 13 computer with an ARM processor installs, so clang-format should behave as it does on a Linux PC. It is a command line program rather than an app with a window of its own: you run it by typing its command in Breadstick's Terminal, or in any terminal window on the Linux desktop, and it needs no Desktop or Floating session running.
Commands in the package
clang-formatclang-format-diffgit-clang-format
Type one in Breadstick's Terminal to run it.
Linters, formatters and language servers run on the device's own processor, and editors on the Linux desktop or in the Terminal can call them as they would on a Linux PC. More in the docs: The Terminal.
About clang-format
From Debian's package description
Clang-format is both a library and a stand-alone tool with the goal of automatically reformatting C++ sources files according to configurable style guides. To do so, clang-format uses Clang's Lexer to transform an input file into a token stream and then changes all the whitespace around those tokens. The goal is for clang-format to both serve both as a user tool (ideally with powerful IDE integrations) and part of other refactoring tools, e.g. to do a reformatting of all the lines changed during a renaming.
This is a dependency package providing the clang format tool.
From Debian's description of the clang-format package, under that package's license.
Related apps
- ClangC, C++ and Objective-C compiler (LLVM based), clang binaryCommand line
- clangdLanguage server that provides IDE-like features to editorsCommand line
- yapf3Python code formatter for different styles (Python 3)Command line
- Cppchecktool for static C/C++ code analysis (CLI)Command line
- astyleSource code indenter for C, C++, Objective-C, C#, and JavaCommand line
- uncrustifyC, C++, ObjectiveC, C#, D, Java, Pawn and VALA source code beautifierCommand line
Sources and licenses
- Name: the Debian package name.
- Summary: Debian's short description of the clang-format package, under that package's license.
- Description: Debian's description of the clang-format package, under that package's license.
- Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
- Popularity: Debian Popularity Contest counts.
More in About the catalog.