1. Increase cognitive complexity threshold to 50. The default value of
25 marks a lot of functions, which is too noisy to be useful.
2. Ignore int8_t in signed char to integer conversion check.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Of course, we still use GLX, so we can't completely remove Xlib yet. But
this removes all Xlib uses outside of the backends.
This drops support for COMPOUND_TEXT Xorg strings, so people how wants
multilingual support has to use UTF8, which should be fine since most of
the applications support that.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
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>