From a2b836f8f9e5fc93226aaaba2f750ea4fe4ad551 Mon Sep 17 00:00:00 2001 From: CodemodService Bot Date: Wed, 25 Jun 2025 02:24:41 -0700 Subject: [PATCH] Fix CQS signal modernize-concat-nested-namespaces in xplat/js/react-native-github/packages/react-native/ReactCommon/jsc Reviewed By: javache Differential Revision: D77290996 --- packages/react-native/ReactCommon/jsc/JSCRuntime.cpp | 6 ++---- packages/react-native/ReactCommon/jsc/JSCRuntime.h | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/react-native/ReactCommon/jsc/JSCRuntime.cpp b/packages/react-native/ReactCommon/jsc/JSCRuntime.cpp index 9e188fad527..46528bad745 100644 --- a/packages/react-native/ReactCommon/jsc/JSCRuntime.cpp +++ b/packages/react-native/ReactCommon/jsc/JSCRuntime.cpp @@ -18,8 +18,7 @@ #include #include -namespace facebook { -namespace jsc { +namespace facebook::jsc { namespace detail { class ArgsConverter; @@ -1582,5 +1581,4 @@ std::unique_ptr makeJSCRuntime() { return std::make_unique(); } -} // namespace jsc -} // namespace facebook +} // namespace facebook::jsc diff --git a/packages/react-native/ReactCommon/jsc/JSCRuntime.h b/packages/react-native/ReactCommon/jsc/JSCRuntime.h index 1d6b2259fcd..281b5558c89 100644 --- a/packages/react-native/ReactCommon/jsc/JSCRuntime.h +++ b/packages/react-native/ReactCommon/jsc/JSCRuntime.h @@ -10,10 +10,8 @@ #include #include -namespace facebook { -namespace jsc { +namespace facebook::jsc { std::unique_ptr makeJSCRuntime(); -} // namespace jsc -} // namespace facebook +} // namespace facebook::jsc