... | ... | @@ -14,4 +14,18 @@ This gives a set of suggestions. |
|
|
|
|
|
If you want the suggestion to be applied add the `-fix -format-style=file` to the above command line.
|
|
|
|
|
|
See `clang-tidy -list-checks` (and other documentation) for the available checks. |
|
|
\ No newline at end of file |
|
|
See `clang-tidy -list-checks` (and other documentation) for the available checks.
|
|
|
|
|
|
|
|
|
***
|
|
|
|
|
|
There is also a python wrapper for clang-tidy:
|
|
|
|
|
|
```sh
|
|
|
run-clang-tidy.py -checks='-*,*' \
|
|
|
-p path/to/compile_commands.json/ \
|
|
|
-header-filter 'ProcessLib/LIE/HydroMechanics/*' \
|
|
|
ProcessLib/LIE/HydroMechanics/
|
|
|
```
|
|
|
|
|
|
If you want the suggestion to be applied add the `-fix -format -style file` to the above command line. |
|
|
\ No newline at end of file |