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:
Samuel Susla
2022-01-05 05:53:13 -08:00
committed by Facebook GitHub Bot
parent d016766303
commit 681ed402de
34 changed files with 96 additions and 75 deletions
@@ -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;
}