This repository was archived by the owner on Nov 17, 2023. It is now read-only.
[MXNET-860] Reduce redundant copies, check for regressions with clang-tidy#12355
Merged
Conversation
f98f1db to
46c9d6b
Compare
88104f0 to
4be7041
Compare
Contributor
Author
|
@mxnet-label-bot can please add [pr-awaiting-review] |
c622dc2 to
04e2705
Compare
04e2705 to
1aacbb6
Compare
lebeg
approved these changes
Sep 17, 2018
anirudh2290
pushed a commit
to anirudh2290/mxnet
that referenced
this pull request
Sep 19, 2018
…-tidy (apache#12355) * [MXNET-860] - Fix some unneeded copies * [MXNET-860] - Add unnecessary copy check to clang-tidy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Reduce redundant copies and add a check to clang-tidy to prevent future redundant copies. This change is a failure straightforward optimization that should not impact the correctness of the library.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Note: should only be applied after #12282