Skip to content

[libc++] Clang-tidy enable modernize-use-nullptr. #78746

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

Closed

Conversation

mordante
Copy link
Member

Clang-tidy 18 no longer has false positives with the spaceship operator. Note that I'm quite sure there are more occurrences in our headers that are not caught.

Clang-tidy 18 no longer has false positives with the spaceship operator.
Note that I'm quite sure there are more occurrences in our headers that
are not caught.
@mordante mordante self-assigned this Jan 19, 2024
@mordante
Copy link
Member Author

This was #76659, but it seems in GH, unlike Phab, pushing to a branch after a revert it is no longer associated with the original pull request. This change should fix the CI issues in the original patch.

mordante added a commit that referenced this pull request Jan 21, 2024
Clang-tidy 18 no longer has false positives with the spaceship operator.
Note that I'm quite sure there are more occurrences in our headers that
are not caught.

This relands #76659 with fixes
tested in #78746.
@mordante mordante closed this Jan 21, 2024
@mordante mordante deleted the users/mordante/clang-tidy_modernize-use-nullptr branch January 21, 2024 12:09
blueboxd pushed a commit to blueboxd/libcxx that referenced this pull request Feb 7, 2024
Clang-tidy 18 no longer has false positives with the spaceship operator.
Note that I'm quite sure there are more occurrences in our headers that
are not caught.

This relands llvm/llvm-project#76659 with fixes
tested in llvm/llvm-project#78746.

NOKEYCHECK=True
GitOrigin-RevId: 5b7bb56a053702f7ed486aba1427454ec222bb36
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.

1 participant