Remove loop[ijkl]

They confused clang-format a lot.

FossilOrigin-Name: 6b85eefc857c74c00d7ef693e312cc15df53201a6712aee8ba8d57c643c1703b
This commit is contained in:
Jonathan Schleifer 2025-03-23 02:47:40 +00:00
parent 2c5f2d0342
commit 006dba8370
22 changed files with 318 additions and 257 deletions

View file

@ -240,8 +240,7 @@ execute(OFString *string, bool isDown)
for (bool cont = true; cont;) {
// for each ; seperated statement
int numargs = MAXWORDS;
loopi(MAXWORDS)
{
for (int i = 0; i < MAXWORDS; i++) {
// collect all argument values
w[i] = @"";
if (i > numargs)
@ -421,8 +420,7 @@ loopa(OFString *times, OFString *body)
{
int t = times.cube_intValue;
loopi(t)
{
for (int i = 0; i < t; i++) {
intset(@"i", i);
execute(body, true);
}
@ -477,8 +475,7 @@ at(OFString *s_, OFString *pos)
char *copy __attribute__((__cleanup__(cleanup))) =
strdup(s_.UTF8String);
char *s = copy;
loopi(n)
{
for (int i = 0; i < n; i++) {
s += strcspn(s, " \0");
s += strspn(s, " ");
}