Skip to content

refactor(ast_macros): move logic out of generated code#11049

Merged
graphite-app[bot] merged 1 commit intomainfrom
05-14-refactor_ast_macros_move_logic_out_of_generated_code
May 14, 2025
Merged

refactor(ast_macros): move logic out of generated code#11049
graphite-app[bot] merged 1 commit intomainfrom
05-14-refactor_ast_macros_move_logic_out_of_generated_code

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented May 14, 2025

Reduce logic in generated code for oxc_ast_macros crate, and handle it in static code instead.

Also, improve code comments.

Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added A-ast-tools Area - AST tools C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels May 14, 2025
@overlookmotel overlookmotel marked this pull request as ready for review May 14, 2025 22:51
@overlookmotel
Copy link
Member Author

Just moves code, doesn't alter it, and I don't think anyone else is much au fait with oxc_ast_macros, so merging without review.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label May 14, 2025
Copy link
Member Author

overlookmotel commented May 14, 2025

Merge activity

Reduce logic in generated code for `oxc_ast_macros` crate, and handle it in static code instead.

Also, improve code comments.
@graphite-app graphite-app bot force-pushed the 05-14-refactor_ast_macros_move_logic_out_of_generated_code branch from b479b31 to c1e6c9b Compare May 14, 2025 22:56
@codspeed-hq
Copy link

codspeed-hq bot commented May 14, 2025

CodSpeed Instrumentation Performance Report

Merging #11049 will not alter performance

Comparing 05-14-refactor_ast_macros_move_logic_out_of_generated_code (c1e6c9b) with main (2a403cb)

Summary

✅ 36 untouched benchmarks

@graphite-app graphite-app bot merged commit c1e6c9b into main May 14, 2025
25 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label May 14, 2025
@graphite-app graphite-app bot deleted the 05-14-refactor_ast_macros_move_logic_out_of_generated_code branch May 14, 2025 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast-tools Area - AST tools C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant