mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Turning on clang tidy performance-*
Summary: changelog: [internal] Enable performance related clang tidy rules. Reviewed By: javache Differential Revision: D33350556 fbshipit-source-id: 486446ed0a1ac88af21b691ac6905b4f2359dafc
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d016766303
commit
681ed402de
@@ -26,7 +26,7 @@ std::string DebugStringConvertible::getDebugChildrenDescription(
|
||||
auto trailing = options.format ? std::string{"\n"} : std::string{""};
|
||||
auto childrenString = std::string{""};
|
||||
|
||||
for (auto child : getDebugChildren()) {
|
||||
for (auto const &child : getDebugChildren()) {
|
||||
if (!child) {
|
||||
continue;
|
||||
}
|
||||
@@ -52,7 +52,7 @@ std::string DebugStringConvertible::getDebugPropsDescription(
|
||||
|
||||
auto propsString = std::string{""};
|
||||
|
||||
for (auto prop : getDebugProps()) {
|
||||
for (auto const &prop : getDebugProps()) {
|
||||
if (!prop) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user