From 4234f92173641b989dfe3fa10e36db9247bfe282 Mon Sep 17 00:00:00 2001 From: CodemodService Bot Date: Mon, 10 Nov 2025 09:09:50 -0800 Subject: [PATCH] Fix CQS signal readability-braces-around-statements in xplat/jsi/jsi (#54476) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54476 Differential Revision: D86646676 --- packages/react-native/ReactCommon/jsi/jsi/jsi.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/jsi/jsi/jsi.cpp b/packages/react-native/ReactCommon/jsi/jsi/jsi.cpp index 79eb311dc3c5..2fbf0627bc2e 100644 --- a/packages/react-native/ReactCommon/jsi/jsi/jsi.cpp +++ b/packages/react-native/ReactCommon/jsi/jsi/jsi.cpp @@ -231,8 +231,9 @@ inline char hexDigit(unsigned x) { // ASCII characters bool isAllASCII(const char16_t* utf16, size_t length) { for (const char16_t* e = utf16 + length; utf16 != e; ++utf16) { - if (*utf16 > 0x7F) + if (*utf16 > 0x7F) { return false; + } } return true; }