Skip to content

ast-exporter: In VisitExpr, handle when Begin and End start off in different macros#1795

Open
Rua wants to merge 3 commits into
immunant:masterfrom
Rua:macro-convergence
Open

ast-exporter: In VisitExpr, handle when Begin and End start off in different macros#1795
Rua wants to merge 3 commits into
immunant:masterfrom
Rua:macro-convergence

Conversation

@Rua
Copy link
Copy Markdown
Contributor

@Rua Rua commented May 11, 2026

There were some bugs in the logic here that were preventing some macro expansions from working correctly.

The first commit is just refactoring, because there was some old code left in there for supporting Clang versions before 7, which is no longer officially supported by c2rust according to the readme.

@Rua Rua force-pushed the macro-convergence branch 6 times, most recently from 749ed39 to be5a0e0 Compare May 12, 2026 12:39
@Rua Rua force-pushed the macro-convergence branch from be5a0e0 to 2b7d542 Compare May 12, 2026 12:59
@Rua Rua marked this pull request as draft May 12, 2026 13:58
@Rua Rua force-pushed the macro-convergence branch 3 times, most recently from fb66fca to ad4d22e Compare May 12, 2026 17:35
@Rua Rua marked this pull request as ready for review May 12, 2026 18:02
@Rua Rua force-pushed the macro-convergence branch 2 times, most recently from 180b3e7 to b767dbb Compare May 12, 2026 18:15
@Rua Rua force-pushed the macro-convergence branch from b767dbb to a1ac664 Compare May 19, 2026 15:42
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