Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang-tidy: performance-for-range-copy #7349

Merged
merged 2 commits into from
Jun 21, 2019

Conversation

derekargueta
Copy link
Member

@derekargueta derekargueta commented Jun 21, 2019

Description: This PR cleans out existing warnings for performance-for-range-copy and sets it as an error for future PRs. performance-for-range-copy looks for for-ranges copying by value when they could use const-ref instead.
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A

Related to #4863 cc @lizan

Signed-off-by: Derek Argueta dereka@pinterest.com

Signed-off-by: Derek Argueta <dereka@pinterest.com>
@derekargueta derekargueta requested a review from zuercher as a code owner June 21, 2019 01:05
Signed-off-by: Derek Argueta <dereka@pinterest.com>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Amazing!

@mattklein123 mattklein123 merged commit 4b76a2f into envoyproxy:master Jun 21, 2019
@derekargueta derekargueta deleted the dereka/clang-tidy-perf branch June 21, 2019 06:00
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