simplify formatting scripts, add a clang-tidy script, and run clang-tidy

This commit is contained in:
Nathan Franke 2022-01-27 10:34:33 -06:00
parent 01f5d7c616
commit 8a0a3accee
No known key found for this signature in database
GPG key ID: 082B90CF10A5B648
36 changed files with 288 additions and 244 deletions

View file

@ -38,8 +38,9 @@
namespace TestString {
int u32scmp(const char32_t *l, const char32_t *r) {
for (; *l == *r && *l && *r; l++, r++)
for (; *l == *r && *l && *r; l++, r++) {
;
}
return *l - *r;
}