2017-09-10 23:54:47 +02:00
|
|
|
# libsuperderpy codestyle
|
|
|
|
|
|
|
|
## clang-format
|
|
|
|
|
|
|
|
See [the configuration file](.clang-format).
|
|
|
|
|
|
|
|
## clang-tidy
|
|
|
|
|
2018-11-30 02:45:22 +01:00
|
|
|
See [the configuration file](.clang-tidy).
|
2017-09-10 23:54:47 +02:00
|
|
|
|
2019-06-01 04:30:21 +02:00
|
|
|
*Note:* clang-tidy can run automatically during compilation by enabling it with `-DUSE_CLANG_TIDY=ON`
|
2017-09-10 23:54:47 +02:00
|
|
|
|
|
|
|
## Qt Creator's Code Model
|
|
|
|
|
|
|
|
```
|
|
|
|
-Weverything -Wno-missing-field-initializers -Wno-unused-parameter -Wno-padded -Wno-conversion
|
2017-09-15 20:45:46 +02:00
|
|
|
-Wno-double-promotion -Wno-bad-function-cast -Wno-pedantic -Wno-unused-macros -Wno-switch-enum
|
2018-11-30 04:20:35 +01:00
|
|
|
-Wno-disabled-macro-expansion -D__codemodel__
|
2017-09-10 23:54:47 +02:00
|
|
|
```
|