File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
1
# clang-tools
2
-
3
- [ ![ codecov] ( https://codecov.io/gh/shenxianpeng/clang-tools-pip/branch/master/graph/badge.svg?token=40G5ZOIRRR )] ( https://codecov.io/gh/shenxianpeng/clang-tools-pip ) [ ![ Python application] ( https://github.com/shenxianpeng/clang-tools-pip/actions/workflows/python-test.yml/badge.svg )] ( https://github.com/shenxianpeng/clang-tools-pip/actions/workflows/python-test.yml )
2
+ [ ![ PyPI] ( https://img.shields.io/pypi/v/clang-tools )] ( https://pypi.org/project/clang-tools/ ) [ ![ Python test] ( https://github.com/shenxianpeng/clang-tools-pip/actions/workflows/python-test.yml/badge.svg )] ( https://github.com/shenxianpeng/clang-tools-pip/actions/workflows/python-test.yml ) [ ![ codecov] ( https://codecov.io/gh/shenxianpeng/clang-tools-pip/branch/master/graph/badge.svg?token=40G5ZOIRRR )] ( https://codecov.io/gh/shenxianpeng/clang-tools-pip )
4
3
5
4
Install clang-tools (clang-format, clang-tidy) with pip.
6
5
@@ -9,13 +8,13 @@ Install clang-tools (clang-format, clang-tidy) with pip.
9
8
### Install ` clang-tools ` with pip
10
9
11
10
``` bash
12
- sudo pip install clang-tools
11
+ $ sudo pip install clang-tools
13
12
```
14
13
15
14
### Usage
16
15
17
16
``` bash
18
- sudo clang-tools --help
17
+ $ sudo clang-tools --help
19
18
usage: clang-tools [-h] [-i INSTALL]
20
19
21
20
optional arguments:
@@ -26,9 +25,15 @@ optional arguments:
26
25
For example
27
26
28
27
``` bash
29
- sudo clang-tools --install 13
30
- ```
28
+ $ sudo clang-tools --install 13
31
29
32
- ## TODO
30
+ $ clang-format-13 --version
31
+ clang-format version 13.0.0
33
32
34
- * Modidy ` clang-tools ` command parameter
33
+ $ clang-tidy-13 --version
34
+ LLVM (http://llvm.org/):
35
+ LLVM version 13.0.0
36
+ Optimized build.
37
+ Default target: x86_64-unknown-linux-gnu
38
+ Host CPU: skylake
39
+ ```
You can’t perform that action at this time.
0 commit comments