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

src: rename CHECK_NOT_OOB() macro #8784

Merged
merged 1 commit into from
Sep 28, 2016

Conversation

bnoordhuis
Copy link
Member

Rename CHECK_NOT_OOB() to THROW_AND_RETURN_IF_OOB() because the old name
suggests it asserts and aborts when it is really a control flow macro.

@bnoordhuis bnoordhuis added buffer Issues and PRs related to the buffer subsystem. c++ Issues and PRs that require attention from people who are familiar with C++. labels Sep 26, 2016
@danbev
Copy link
Contributor

danbev commented Sep 26, 2016

LGTM

1 similar comment
@thefourtheye
Copy link
Contributor

LGTM

Copy link
Member

@imyller imyller left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@addaleax addaleax left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

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

LGTM

@jasnell
Copy link
Member

jasnell commented Sep 27, 2016

Rename CHECK_NOT_OOB() to THROW_AND_RETURN_IF_OOB() because the old name
suggests it asserts and aborts when it is really a control flow macro.

PR-URL: nodejs#8784
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
@bnoordhuis bnoordhuis closed this Sep 28, 2016
@bnoordhuis bnoordhuis deleted the rename-CHECK_NOT_OOB branch September 28, 2016 09:06
@bnoordhuis bnoordhuis merged commit c991d64 into nodejs:master Sep 28, 2016
@bnoordhuis
Copy link
Member Author

Those tick processor scripts again...

@chainoy I'm afraid I didn't have your name and email so I couldn't add a Reviewed-By tag for you.

jasnell pushed a commit that referenced this pull request Sep 29, 2016
Rename CHECK_NOT_OOB() to THROW_AND_RETURN_IF_OOB() because the old name
suggests it asserts and aborts when it is really a control flow macro.

PR-URL: #8784
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
@MylesBorins
Copy link
Contributor

@bnoordhuis is this a useful backport?

@jasnell
Copy link
Member

jasnell commented Oct 7, 2016

I'm obviously not @bnoordhuis but I doubt it would hurt much to backport if it applies cleanly. If it doesn't, it's likely ok not to land it.

@bnoordhuis
Copy link
Member Author

What @jasnell said. It if applies cleanly, it's beneficial to back-port.

Fishrock123 pushed a commit that referenced this pull request Oct 11, 2016
Rename CHECK_NOT_OOB() to THROW_AND_RETURN_IF_OOB() because the old name
suggests it asserts and aborts when it is really a control flow macro.

PR-URL: #8784
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
@MylesBorins
Copy link
Contributor

@bnoordhuis this is not applying cleanly. Please feel free to switch the label to dont-land if you think we should pass on it. Alternatively please feel free to submit a backport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buffer Issues and PRs related to the buffer subsystem. c++ Issues and PRs that require attention from people who are familiar with C++.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants