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-unnecessary-copy-initialization #7378

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

derekargueta
Copy link
Member

Description: performance-unnecessary-copy-initialization looks for places where copy-construction is used in an assignment when taking a reference would be more efficient. An example where this can happen is when the value cannot be RVO'd (i.e. a data member).
Risk Level: Low
Testing: existing
Docs Changes: N/A
Release Notes: N/A

Relates to #4863.

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

Signed-off-by: Derek Argueta <dereka@pinterest.com>
@derekargueta derekargueta requested a review from htuch as a code owner June 24, 2019 09:37
@mattklein123
Copy link
Member

/retest

@repokitteh-read-only
Copy link

🔨 rebuilding ci/circleci: asan (failed build)

🐱

Caused by: a #7378 (comment) was created by @mattklein123.

see: more, trace.

@mattklein123
Copy link
Member

/azp run macos

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@mattklein123
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

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.

Thanks!

@mattklein123 mattklein123 merged commit ad57ed8 into envoyproxy:master Jun 24, 2019
@derekargueta derekargueta deleted the dereka/clang-tidy-perf branch June 24, 2019 17: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