Sujet : Re: question about linker
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 11. Dec 2024, 23:03:00
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20241212000300.00001c20@yahoo.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
User-Agent : Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
On Wed, 11 Dec 2024 21:19:54 +0000
bart <
bc@freeuk.com> wrote:
This also comes up with 'while (cond); {...}'.
$ cat foo.c
void foo(int x)
{
while (x--);
bar();
}
$ clang-format < foo.c
void foo(int x) {
while (x--)
;
bar();
}
Do I use clamg-format myself? No, I don't.
And I don't know why C formatters are generally less popular among C
programmers then, for example, go formater among Go programmers or Rust
formatter among Rust programmers.