Skip to main content

Install clang-tools (clang-format, clang-tidy) with pip

Project description

clang-tools

PyPI Python test codecov Platfrom

Install clang-tools binaries (clang-format, clang-tidy) with pip.

Install

Install clang-tools command with pip

$ sudo pip install clang-tools

Usage

$ sudo clang-tools --help
usage: clang-tools [-h] [-i INSTALL] [-d DIRECTORY]

optional arguments:
  -h, --help            show this help message and exit
  -i INSTALL, --install INSTALL
                        Install clang-tools with specific version. default is 12.
  -d DIRECTORY, --directory DIRECTORY
                        The directory where is the clang-tools install.

Use clang-tools command to install version 13 binaries.

$ sudo clang-tools --install 13
# Or install to a specified directory
$ sudo clang-tools --install 13 --directory .

$ clang-format-13 --version
clang-format version 13.0.0

$ clang-tidy-13 --version
LLVM (http://llvm.org/):
  LLVM version 13.0.0
  Optimized build.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: skylake

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clang_tools-0.2.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

clang_tools-0.2.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page