Skip to content

fix: support base components in offsetof expressions - #243

Open
lm-sousa wants to merge 3 commits into
dumper-polish-template-namesfrom
dumper-polish-offsetof-base
Open

fix: support base components in offsetof expressions#243
lm-sousa wants to merge 3 commits into
dumper-polish-template-namesfrom
dumper-polish-offsetof-base

Conversation

@lm-sousa

Copy link
Copy Markdown
Member

The future clang-dumper emits Base components for offsetof expressions, but Clava currently rejects that component kind.

This adds an OffsetOfBase model and parses its serialized base type so nested-base member paths remain available to Clava.

Verification:

  • gradle -p ClangAstParser compileJava
  • git diff --check

Model: GPT-5.6-Luna

Copilot AI lite review requested due to automatic review settings August 28, 2026 17:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b3a7cd9d0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread ClavaAst/src/pt/up/fe/specs/clava/ast/expr/data/offsetof/OffsetOfBase.java Outdated
@lm-sousa
lm-sousa force-pushed the dumper-polish-offsetof-base branch from 6b3a7cd to 6d3e2f7 Compare August 28, 2026 19:28
@lm-sousa
lm-sousa force-pushed the dumper-polish-offsetof-base branch from 6d3e2f7 to e8aa2c2 Compare August 28, 2026 21:21
@sonarqubecloud

Copy link
Copy Markdown

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.

2 participants