Skip to content
Sections
>> Trisquel >> Packages >> nabia-updates >> devel >> clang-format-12
etiona-backports  ] [  nabia-security  ] [  nabia-updates  ] [  aramo  ]
[ Source: llvm-toolchain-12  ]

Package: clang-format-12 (1:12.0.0-3ubuntu1~20.04.5)

Tool to format C/C++/Obj-C code

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 package also provides vim and emacs plugins.

Other Packages Related to clang-format-12

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.4) [armhf]
  • dep: libclang-cpp12 (>= 1:12.0.0)
    C++ interface to the Clang library
  • dep: libgcc-s1 (>= 3.0)
    GCC support library
  • dep: libllvm12 (= 1:12.0.0-3ubuntu1~20.04.5)
    Modular compiler and toolchain technologies, runtime library
  • dep: libstdc++6 (>= 5.2)
    GNU Standard C++ Library v3
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Download clang-format-12

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 42.6 kB204 kB [list of files]
armhf 39.0 kB192 kB [list of files]