Skip to content

Conversation

@dmah42
Copy link
Member

@dmah42 dmah42 commented Feb 11, 2025

part of #1925

src/benchmark.cc Outdated
}
display_reporter->Finalize();
if (file_reporter) file_reporter->Finalize();
if (file_reporter) {file_reporter->Finalize();}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not clang-formatted?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

working on it. still draft :)

@dmah42 dmah42 marked this pull request as ready for review February 11, 2025 23:24
if (ret == 0) return std::string{};
if (static_cast<std::size_t>(ret) < local_buff.size())
if (ret == 0) {
return {};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change

Copy link
Collaborator

@LebedevRI LebedevRI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've looked through the whole diff, and this seems fine,
but i hope this was not done by hand but using clang-tidy -fix -check=<????> :)

Thank you.

@dmah42
Copy link
Member Author

dmah42 commented Feb 11, 2025

I've looked through the whole diff, and this seems fine, but i hope this was not done by hand but using clang-tidy -fix -check=<????> :)

Thank you.

yes, with a few fixups because it didn't do a perfect job.

@dmah42 dmah42 merged commit f8db7f6 into main Feb 11, 2025
97 of 101 checks passed
@dmah42 dmah42 deleted the braces branch February 11, 2025 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants