Daily `arc lint --take CLANGFORMAT`

Reviewed By: zertosh

Differential Revision: D21202121

fbshipit-source-id: 6acb53e6ca941e465b11aeac4215533c16067eed
This commit is contained in:
generatedunixname89002005287564 2020-04-23 06:51:21 -07:00 коммит произвёл Facebook GitHub Bot
Родитель a2f8b9c36e
Коммит ca162560af
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -409,7 +409,8 @@ static Class getFallbackClassFromName(const char *name)
* *
* This method can be called synchronously from two different contexts: * This method can be called synchronously from two different contexts:
* - The thread that calls provideRCTTurboModule: * - 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<RCTTurboModule>)_createAndSetUpRCTTurboModule:(Class)moduleClass moduleName:(const char *)moduleName - (id<RCTTurboModule>)_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 * If a module overrides `init` then we must assume that it expects to be initialized on the main thread, because it
* need to access UIKit. * may need to access UIKit.
*/ */
const BOOL hasCustomInit = [moduleClass instanceMethodForSelector:@selector(init)] != objectInitMethod; const BOOL hasCustomInit = [moduleClass instanceMethodForSelector:@selector(init)] != objectInitMethod;