Skip to content

[FIX] Adds compatibility for LLVM-22 #146

Merged
pearzt merged 6 commits into
tudasc:develfrom
TimHeldmann:fix/makeCompatibleWithLLVM22
Jun 12, 2026
Merged

[FIX] Adds compatibility for LLVM-22 #146
pearzt merged 6 commits into
tudasc:develfrom
TimHeldmann:fix/makeCompatibleWithLLVM22

Conversation

@TimHeldmann

Copy link
Copy Markdown
Member

In LLVM-22 two of the type traversal functions got a new parameter, whether to traverse qualifiers.

We do not care about the qualifiers, so we just need to pass them along.
This PR uses macros to define the correct function and pass the qualifiers accordingly if available.

This should address #145.

@TimHeldmann TimHeldmann changed the title Add llvm-version dependend function declarations [FIX] Adds compatibility for LLVM-22 Jun 12, 2026

@pearzt pearzt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@pearzt pearzt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Downstream CI still fails when building with LLVM 22. Let's investigate internally, @TimHeldmann.

@pearzt pearzt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Build failures are resolved

@pearzt pearzt merged commit 8391b17 into tudasc:devel Jun 12, 2026
4 checks passed
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.

3 participants