Integrate (a nerfed version of) clang-tidy into CI.

For now, it's integrated into core, main and scene only.
Fix a few superficial clang-tidy failures.
This commit is contained in:
Lukas Tenbrink 2025-11-14 21:57:17 +01:00
parent 897172fa25
commit 6e345f80ec
9 changed files with 89 additions and 63 deletions

View file

@ -3034,7 +3034,7 @@ static const int reverse_caps_table[UTL_LEN][2] = {
{ 0x1E921, 0x1E943 },
};
static int _find_upper(int ch) {
inline int _find_upper(int ch) {
int low = 0;
int high = LTU_LEN - 1;
int middle;
@ -3054,7 +3054,7 @@ static int _find_upper(int ch) {
return ch;
}
static int _find_lower(int ch) {
inline int _find_lower(int ch) {
int low = 0;
int high = UTL_LEN - 1;
int middle;