Skip to content

[docs] remove some out-of-date content in LLVM Programmer's Manual. #119565

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

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

yhgu2000
Copy link
Contributor

Remove the part about implicit conversion from an iterator to a pointer.

This part of the manual was written 14 years ago, in: 37027c3

There do exist a type casting operator in ilist then:

operator pointer() const {
return NodePtr;
}

But it has been remove since 2016: f197b1f

So I think it makes sense to remove this part to avoid mislead new contributors.

Remove the part about implicit conversion from an iterator to a pointer.

This part of the manual was written 14 years ago, in: llvm@37027c3

There do exist a type casting operator in `ilist` then: https://github.com/llvm/llvm-project/blob/37027c30ec526afe3bb571df6f8701bf0d322f22/llvm/include/llvm/ADT/ilist.h#L192-L194

But it has been remove since 2016: llvm@f197b1f

So I think it makes sense to remove this part to avoid mislead new contributors.
@tschuett tschuett requested a review from nikic December 11, 2024 14:42
@yhgu2000
Copy link
Contributor Author

@chisophugis @dexonsmith

Copy link
Collaborator

@dexonsmith dexonsmith 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
Contributor

@hstk30-hw hstk30-hw left a comment

Choose a reason for hiding this comment

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

Code formatting seems ok. Maybe restart the Workflow will pass.

@yhgu2000 yhgu2000 merged commit 62cd735 into llvm:main Dec 16, 2024
9 of 10 checks passed
@yhgu2000 yhgu2000 deleted the gyh branch December 16, 2024 06:51
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.

4 participants