Skip to content

Print ClassFields when printing Class #5536

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
wants to merge 2 commits into from

Conversation

bricknerb
Copy link
Contributor

Found this to be useful for debugging.

Found this to be useful for debugging.
@bricknerb bricknerb enabled auto-merge May 27, 2025 08:22
@github-actions github-actions bot requested a review from geoffromer May 27, 2025 08:23
@@ -63,6 +63,26 @@ struct ClassFields {
// The virtual function table. `None` if the class has no (direct or
// inherited) virtual functions.
InstId vtable_id = InstId::None;

auto PrintClassFields(llvm::raw_ostream& out) const -> void {
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems duplicated with #5535

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, sorry about that, meant to do this separately.

@bricknerb bricknerb closed this May 28, 2025
auto-merge was automatically disabled May 28, 2025 07:20

Pull request was closed

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