Skip to content
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

ast-builder: Add more methods #3322

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CohenArthur
Copy link
Member

This commit adds new methods for building pattern nodes, match expressions and more precise call expressions.

This commit adds two new constructors for AST::PathInExpression: One using a provided lang-item, and one with an already built std::unique_ptr<Path>

gcc/rust/ChangeLog:

	* ast/rust-path.h: Add two new constructors.
This commit adds new methods for building pattern nodes, match expressions and more precise call expressions.

gcc/rust/ChangeLog:

	* ast/rust-ast-builder.cc: Add new functions.
	* ast/rust-ast-builder.h: Declare them.
@CohenArthur CohenArthur force-pushed the ast-builder-build-more-builder branch from d2045eb to 44b8ee3 Compare December 24, 2024 16:22
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