From ca162560af851af8b04040c279a15a58329611e2 Mon Sep 17 00:00:00 2001 From: generatedunixname89002005287564 Date: Thu, 23 Apr 2020 06:51:21 -0700 Subject: [PATCH] Daily `arc lint --take CLANGFORMAT` Reviewed By: zertosh Differential Revision: D21202121 fbshipit-source-id: 6acb53e6ca941e465b11aeac4215533c16067eed --- .../turbomodule/core/platform/ios/RCTTurboModuleManager.mm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.mm b/ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.mm index e7ccf625bb..f5a12a6dce 100644 --- a/ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.mm +++ b/ReactCommon/turbomodule/core/platform/ios/RCTTurboModuleManager.mm @@ -409,7 +409,8 @@ static Class getFallbackClassFromName(const char *name) * * This method can be called synchronously from two different contexts: * - The thread that calls provideRCTTurboModule: - * - The main thread (if the TurboModule requires main queue init), blocking the thread that calls provideRCTTurboModule:. + * - The main thread (if the TurboModule requires main queue init), blocking the thread that calls + * provideRCTTurboModule:. */ - (id)_createAndSetUpRCTTurboModule:(Class)moduleClass moduleName:(const char *)moduleName { @@ -611,8 +612,8 @@ static Class getFallbackClassFromName(const char *name) }); /** - * If a module overrides `init` then we must assume that it expects to be initialized on the main thread, because it may - * need to access UIKit. + * If a module overrides `init` then we must assume that it expects to be initialized on the main thread, because it + * may need to access UIKit. */ const BOOL hasCustomInit = [moduleClass instanceMethodForSelector:@selector(init)] != objectInitMethod;