Skip to content

Conversation

@goldsborough
Copy link
Contributor

No description provided.

@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Nov 29, 2018
.clang-tidy Outdated
Copy link
Contributor Author

@goldsborough goldsborough Nov 29, 2018

Choose a reason for hiding this comment

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

Let me try fixing this one

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@goldsborough has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@pietern
Copy link
Contributor

pietern commented Nov 29, 2018

This will conflict with the .clang-tidy mods I did in #14491.

@ezyang
Copy link
Contributor

ezyang commented Nov 29, 2018

@goldsborough I have some in flight diffs which would pass tidy after this change, but don't pass before. Should I NOLINT suppress, or just ship even with broken tidy?

@goldsborough
Copy link
Contributor Author

@ezyang @pietern please NOLINT for now please (doesnt have to include the check name, I'll fix it after)

@goldsborough goldsborough force-pushed the clang-tidy-csrc branch 2 times, most recently from 62be89f to 4a5647b Compare November 30, 2018 01:48
@pietern
Copy link
Contributor

pietern commented Nov 30, 2018

Sorry @goldsborough, saw your message to late -- 220ce80 changed .clang-tidy as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

What was wrong with this std::move?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The val is used after which clang-tidy does not like

Copy link
Contributor

Choose a reason for hiding this comment

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

We could just replace those assignments with return

@goldsborough goldsborough force-pushed the clang-tidy-csrc branch 3 times, most recently from ae66147 to 251da24 Compare December 4, 2018 20:06
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@goldsborough has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@goldsborough goldsborough force-pushed the clang-tidy-csrc branch 3 times, most recently from b51a0cf to b2d3ef7 Compare December 5, 2018 15:18
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@goldsborough is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants