git clang format 7

Git-clang-format-7 Command

Git-clang-format-7 Command

git-clang-format-7

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

Maintainer: LLVM Packaging Team



Section: devel

Install git-clang-format-7

  • Debian apt-get install clang-format-7 Click to copy
  • Ubuntu apt-get install clang-format-7 Click to copy
  • Kali Linux apt-get install clang-format-7 Click to copy

clang-format-7

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.

Install the latest version of git-clang-format-7 in Debian, Ubuntu and Kali from terminal. To install the git-clang-format-7 just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of git-clang-format-7 from the respository and install it in your computer/server.