Use clang-tidy to add curly braces around one-line statements

The command used to reformat the files in this commit was:

./util/run-clang-tidy \
	-clang-tidy-binary clang-tidy-11
	-clang-apply-replacements-binary clang-apply-replacements-11 \
	-checks=-*,readability-braces-around-statements \
	-j 9 \
	-fix \
	-format \
	-style=file \
	-quiet
clang-format -i --style=format $(git ls-files '*.c' '*.h')
uncrustify -c .uncrustify.cfg --replace --no-backup $(git ls-files '*.c' '*.h')
clang-format -i --style=format $(git ls-files '*.c' '*.h')
75 jobs for !3057 with 46-add-curly-braces in 20 minutes and 12 seconds (queued for 10 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #675561
amd64 linux
🐞:sid:amd64

00:03:25

passed #675559
amd64 linux
autoreconf:sid:amd64

00:00:32

passed #675560
amd64 linux
misc:sid:amd64

00:00:20

 
  Build
passed #675576
amd64 linux
asan:sid:amd64

00:01:51

passed #675583
amd64 freebsd
clang:freebsd11.3:amd64

00:01:06

passed #675584
amd64 freebsd
clang:freebsd12.0:amd64

00:00:58

passed #675585
amd64 libvirt
clang:openbsd6.6:amd64

00:05:28

passed #675580
amd64 linux
clang:stretch:amd64

00:02:57

passed #675581
i386 linux
clang:stretch:i386

00:03:04

passed #675562
amd64 linux
gcc:alpine3.11:amd64

00:02:46

passed #675575
amd64 linux
gcc:bionic:amd64

00:02:19

passed #675568
amd64 linux
gcc:buster:amd64

00:03:00

passed #675563
amd64 linux
gcc:centos6:amd64

00:02:25

passed #675564
amd64 linux
gcc:centos7:amd64

00:02:31

passed #675565
amd64 linux
gcc:centos8:amd64

00:02:53

passed #675573
amd64 linux
gcc:fedora31:amd64

00:02:54

passed #675566
amd64 linux
gcc:jessie:amd64

00:02:50

passed #675569
amd64 linux
gcc:sid:amd64

00:04:25

passed #675571
i386 linux
gcc:sid:i386

00:03:07

passed #675567
amd64 linux
gcc:stretch:amd64

00:02:42

passed #675572
amd64 linux
gcc:tumbleweed:amd64

00:02:37

passed #675574
amd64 linux
gcc:xenial:amd64

00:03:07

passed #675587
amd64 windows
msvc:windows:amd64

00:02:35

passed #675579
amd64 linux
mutexatomics:sid:amd64

00:01:37

passed #675586
amd64 linux
nolibtool:sid:amd64

00:03:17

passed #675570
amd64 linux
oot:sid:amd64

00:01:34

passed #675582
amd64 linux
pkcs11:sid:amd64

00:01:42

passed #675578
amd64 linux
rwlock:sid:amd64

00:03:13

passed #675577
amd64 linux
tsan:buster:amd64

00:02:40

 
  Unit
passed #675601
amd64 linux
unit:asan:sid:amd64

00:01:09

passed #675607
amd64 freebsd
unit:clang:freebsd11.3:amd64

00:00:33

passed #675608
amd64 freebsd
unit:clang:freebsd12.0:amd64

00:00:37

passed #675605
amd64 linux
unit:clang:stretch:amd64

00:00:52

passed #675588
amd64 linux
unit:gcc:alpine3.11:amd64

00:00:58

passed #675600
amd64 linux
unit:gcc:bionic:amd64

00:00:50

passed #675594
amd64 linux
unit:gcc:buster:amd64

00:00:54

passed #675589
amd64 linux
unit:gcc:centos6:amd64

00:00:55

passed #675590
amd64 linux
unit:gcc:centos7:amd64

00:00:52

passed #675591
amd64 linux
unit:gcc:centos8:amd64

00:00:56

passed #675598
amd64 linux
unit:gcc:fedora31:amd64

00:00:41

passed #675592
amd64 linux
unit:gcc:jessie:amd64

00:00:32

passed #675595
amd64 linux
unit:gcc:sid:amd64

00:00:53

passed #675596
i386 linux
unit:gcc:sid:i386

00:01:05

passed #675593
amd64 linux
unit:gcc:stretch:amd64

00:00:55

passed #675597
amd64 linux
unit:gcc:tumbleweed:amd64

00:00:53

passed #675599
amd64 linux
unit:gcc:xenial:amd64

00:00:56

failed #675604
amd64 linux allowed to fail
unit:mutexatomics:sid:amd64

00:10:53

passed #675609
amd64 linux
unit:nolibtool:sid:amd64

00:01:03

passed #675606
amd64 linux
unit:pkcs11:sid:amd64

00:00:55

passed #675603
amd64 linux
unit:rwlock:sid:amd64

00:00:53

failed #675602
amd64 linux allowed to fail
unit:tsan:buster:amd64

00:02:22

 
  System
passed #675623
amd64 linux
system:asan:sid:amd64

00:14:45

passed #675628
amd64 freebsd
system:clang:freebsd11.3:amd64

00:12:57

passed #675629
amd64 freebsd
system:clang:freebsd12.0:amd64

00:12:53

passed #675610
amd64 linux
system:gcc:alpine3.11:amd64

00:13:14

passed #675622
amd64 linux
system:gcc:bionic:amd64

00:13:04

passed #675616
amd64 linux
system:gcc:buster:amd64

00:11:21

passed #675611
amd64 linux
system:gcc:centos6:amd64

00:12:21

passed #675612
amd64 linux
system:gcc:centos7:amd64

00:11:37

passed #675613
amd64 linux
system:gcc:centos8:amd64

00:11:39

passed #675620
amd64 linux
system:gcc:fedora31:amd64

00:12:14

passed #675614
amd64 linux
system:gcc:jessie:amd64

00:12:07

passed #675617
amd64 linux
system:gcc:sid:amd64

00:11:43

passed #675618
i386 linux
system:gcc:sid:i386

00:13:15

passed #675615
amd64 linux
system:gcc:stretch:amd64

00:11:23

passed #675619
amd64 linux
system:gcc:tumbleweed:amd64

00:12:39

passed #675621
amd64 linux
system:gcc:xenial:amd64

00:11:07

passed #675626
amd64 linux
system:mutexatomics:sid:amd64

00:12:24

passed #675630
amd64 linux
system:nolibtool:sid:amd64

00:13:10

passed #675627
amd64 linux
system:pkcs11:sid:amd64

00:12:59

passed #675625
amd64 linux
system:rwlock:sid:amd64

00:12:01

failed #675624
amd64 linux allowed to fail
system:tsan:buster:amd64

00:16:49

 
  Docs
passed #675631
amd64 linux
docs:sid:amd64

00:01:13

 
  Postcheck
passed #675633
amd64 linux
cppcheck:gcc:sid:amd64

00:02:50

passed #675632
amd64 linux
scan-build:buster:amd64

00:11:29

 
Name Stage Failure
failed
system:tsan:buster:amd64 System
No job log
failed
unit:mutexatomics:sid:amd64 Unit
No job log
failed
unit:tsan:buster:amd64 Unit
No job log