mirror of
https://github.com/yshui/picom.git
synced 2025-03-17 17:24:25 -04:00
Add a .clang-tidy file
We currently don't use it for anything. We could add a CI pass in the future. We don't enable clang-analyzer checks. The checks enabled here should mostly be syntax/style linting only, and should be cheap to run. clang-analyzer checks are usually compute-intensive, and can easily be run separately anyway, with scan-build and such. The list of checks definitely isn't final. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
0574e63658
commit
cdb9765802
1 changed files with 16 additions and 0 deletions
16
.clang-tidy
Normal file
16
.clang-tidy
Normal file
|
@ -0,0 +1,16 @@
|
|||
Checks: >
|
||||
readability-*,
|
||||
performance-*,
|
||||
modernize-*,
|
||||
google-readability-todo,
|
||||
cert-err34-c,
|
||||
cert-flp30-c,
|
||||
bugprone-*,
|
||||
misc-misplaced-const,
|
||||
misc-redundant-expression,
|
||||
misc-static-assert,
|
||||
-clang-analyzer-*,
|
||||
-readability-isolate-declaration,
|
||||
-readability-magic-numbers
|
||||
AnalyzeTemporaryDtors: false
|
||||
FormatStyle: file
|
Loading…
Add table
Reference in a new issue