From db3ead19d0047ef7527043ff57ff25ab15af7506 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 6 Jul 2022 05:02:13 +0000 Subject: [PATCH] Restyled by clang-format --- .../Enumeration/EnumerateViewController.m | 11 ++++++----- .../Framework/CHIP/zap-generated/MTRBaseClusters.mm | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/darwin/CHIPTool/CHIPTool/View Controllers/Enumeration/EnumerateViewController.m b/src/darwin/CHIPTool/CHIPTool/View Controllers/Enumeration/EnumerateViewController.m index d31ba4f98b0aaa..8d6441fc078488 100644 --- a/src/darwin/CHIPTool/CHIPTool/View Controllers/Enumeration/EnumerateViewController.m +++ b/src/darwin/CHIPTool/CHIPTool/View Controllers/Enumeration/EnumerateViewController.m @@ -116,8 +116,8 @@ - (void)enumerate } MTRBaseClusterDescriptor * descriptorCluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:0 - queue:dispatch_get_main_queue()]; + endpoint:0 + queue:dispatch_get_main_queue()]; NSLog(@"Reading parts list to get list of endpoints in use..."); [descriptorCluster readAttributePartsListWithCompletionHandler:^( NSArray * _Nullable endpointsInUse, NSError * _Nullable error) { @@ -131,9 +131,10 @@ - (void)enumerate [self updateResult:resultLog]; for (NSNumber * endpoint in endpointsInUse) { - MTRBaseClusterDescriptor * descriptorCluster = [[MTRBaseClusterDescriptor alloc] initWithDevice:device - endpoint:[endpoint unsignedShortValue] - queue:dispatch_get_main_queue()]; + MTRBaseClusterDescriptor * descriptorCluster = + [[MTRBaseClusterDescriptor alloc] initWithDevice:device + endpoint:[endpoint unsignedShortValue] + queue:dispatch_get_main_queue()]; [descriptorCluster readAttributeDeviceListWithCompletionHandler:^( NSArray * _Nullable value, NSError * _Nullable error) { if (error) { diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm index 14c273a4734d47..9e731df343137e 100644 --- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm +++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm @@ -60108,8 +60108,8 @@ - (void)launchContentWithParams:(MTRContentLauncherClusterLaunchContentParams *) } listFreer.add(listHolder_4); for (size_t i_4 = 0; i_4 < element_1.externalIDList.count; ++i_4) { - if (![element_1.externalIDList[i_4] - isKindOfClass:[MTRContentLauncherClusterAdditionalInfo class]]) { + if (! + [element_1.externalIDList[i_4] isKindOfClass:[MTRContentLauncherClusterAdditionalInfo class]]) { // Wrong kind of value. return; }