Skip to content

Conversation

@r-barnes
Copy link
Contributor

@r-barnes r-barnes commented Mar 8, 2025

Summary:
nullptr is preferable to 0 or NULL. Let's use it everywhere so we can enable -Wzero-as-null-pointer-constant.

  • If you approve of this diff, please use the "Accept & Ship" button :-)

Reviewed By: dtolnay

Differential Revision: D70818154

Summary:
`nullptr` is preferable to `0` or `NULL`. Let's use it everywhere so we can enable `-Wzero-as-null-pointer-constant`.

 - If you approve of this diff, please use the "Accept & Ship" button :-)

Reviewed By: dtolnay

Differential Revision: D70818154
@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D70818154

@facebook-github-bot
Copy link

This pull request was exported from Phabricator. Differential Revision: D70818154

@facebook-github-bot facebook-github-bot merged commit cbe963b into pytorch:main Mar 9, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants