Skip to content

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.
@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