Skip to content

Commit b8b79a3

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
Fix CQS signal modernize-concat-nested-namespaces in xplat/js/react-native-github/packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon (#52344)
Summary: Pull Request resolved: #52344 Reviewed By: javache Differential Revision: D77526780 fbshipit-source-id: 6ec8cac95cd0cf9bfc29c57b7ad85fb5e9ab65cb
1 parent c4325c3 commit b8b79a3

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515

1616
#import "RCTTurboModule.h"
1717

18-
namespace facebook {
19-
namespace react {
18+
namespace facebook::react {
2019

2120
class JSI_EXPORT ObjCInteropTurboModule : public ObjCTurboModule {
2221
public:
@@ -94,5 +93,4 @@ class JSI_EXPORT ObjCInteropTurboModule : public ObjCTurboModule {
9493
void _logLegacyArchitectureWarning(NSString *moduleName, const std::string &methodName);
9594
};
9695

97-
} // namespace react
98-
} // namespace facebook
96+
} // namespace facebook::react

packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTInteropTurboModule.mm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
#import <React/RCTModuleMethod.h>
1818
#import <React/RCTParserUtils.h>
1919

20-
namespace facebook {
21-
namespace react {
20+
namespace facebook::react {
2221

2322
namespace {
2423

@@ -695,5 +694,4 @@ T RCTConvertTo(SEL selector, id json)
695694
return propNames;
696695
}
697696

698-
} // namespace react
699-
} // namespace facebook
697+
} // namespace facebook::react

packages/react-native/ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModule.mm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ static int32_t getUniqueId()
3939
return counter++;
4040
}
4141

42-
namespace facebook {
43-
namespace react {
42+
namespace facebook::react {
4443

4544
namespace TurboModuleConvertUtils {
4645
/**
@@ -856,8 +855,7 @@ TraceSection s(
856855
}
857856
}
858857

859-
} // namespace react
860-
} // namespace facebook
858+
} // namespace facebook::react
861859

862860
@implementation EventEmitterCallbackWrapper
863861
@end

0 commit comments

Comments
 (0)