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.

@CohenArthur CohenArthur force-pushed the ast-builder-build-more-builder branch 2 times, most recently from 44b8ee3 to 0198591 Compare December 25, 2024 19:46
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 0198591 to a4a2e2e Compare December 25, 2024 20:06
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