Skip to content

[codemod] NULL -> nullptr#11047

Closed
goldsborough wants to merge 1 commit intopytorch:masterfrom
goldsborough:nullptr
Closed

[codemod] NULL -> nullptr#11047
goldsborough wants to merge 1 commit intopytorch:masterfrom
goldsborough:nullptr

Conversation

@goldsborough
Copy link
Contributor

@goldsborough goldsborough commented Aug 30, 2018

How did we get so many uses of NULL again?

@ezyang

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.

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

give a man a nullptr, and he will be NULL free for a day
give a man a nullptr linter, and he will NULL free for life

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.

PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
How did we get so many uses of `NULL` again?

ezyang
Pull Request resolved: pytorch#11047

Differential Revision: D9566799

Pulled By: goldsborough

fbshipit-source-id: 83469f352ac69aa65bdaf1a1a21f922d892e0db3
@ezyang ezyang added the merged label Jun 26, 2019
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.

3 participants