mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-15 20:45:32 +00:00
clang-format: reformat code with clang-format 15.0.4-1.fc37
This is the version shipped in Fedora 37. As Fedora 37 is now out, the core developers switch to it. Our gitlab-ci will also use that as base image for the check-{patch.tree} tests and to generate the pages. There is a need that everybody agrees on which clang-format version to use, and that version should be the one of the currently used Fedora release. Also update the used Fedora image in "contrib/scripts/nm-code-format-container.sh" script. The gitlab-ci still needs update in the following commit. The change in isolation will break the "check-tree" test.
This commit is contained in:
parent
fe7bea9685
commit
3fb8c0f614
|
@ -10,7 +10,7 @@ die() {
|
|||
DIR="$(realpath "$(dirname "$0")/../../")"
|
||||
cd "$DIR"
|
||||
|
||||
FEDORA_VERSION=36
|
||||
FEDORA_VERSION=37
|
||||
|
||||
PODNAME="nm-code-format-f$FEDORA_VERSION"
|
||||
|
||||
|
|
|
@ -208,7 +208,8 @@ NMDevice *nm_device_factory_create_device(NMDeviceFactory *factory,
|
|||
\
|
||||
NM_DEVICE_FACTORY_DECLARE_TYPES(st_code) \
|
||||
\
|
||||
static void nm_##lower##_device_factory_init(NM##mixed##DeviceFactory *self) {} \
|
||||
static void nm_##lower##_device_factory_init(NM##mixed##DeviceFactory *self) \
|
||||
{} \
|
||||
\
|
||||
static void nm_##lower##_device_factory_class_init(NM##mixed##DeviceFactoryClass *klass) \
|
||||
{ \
|
||||
|
|
|
@ -2723,7 +2723,8 @@ _nmtst_variant_new_vardict(int dummy, ...)
|
|||
G_STMT_END
|
||||
#else
|
||||
#define _nmtst_assert_variant_bytestring_cmp_str(_ptr, _ptr2, _len) \
|
||||
G_STMT_START {} \
|
||||
G_STMT_START \
|
||||
{} \
|
||||
G_STMT_END
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue