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

Fix compatibility with LLVM 16 #1595

Closed
wants to merge 1 commit into from
Closed

Fix compatibility with LLVM 16 #1595

wants to merge 1 commit into from

Conversation

katrinafyi
Copy link
Contributor

@katrinafyi katrinafyi commented Nov 20, 2023

LLVM 16 uses std::optional in place of llvm::Optional. Since these have very similar interfaces, we use auto to maintain backwards compatibility.

I haven't tested much, but it compiles successfully with LLVM 16 and LLVM 15.

LLVM 16 uses std::optional in place of llvm::Optional. Since these have very similar interfaces, we use auto to maintain backwards compatibility.

Compiles successfully with LLVM 16 and LLVM 15.
@ivg
Copy link
Member

ivg commented Feb 16, 2024

covered by #1597

@ivg ivg closed this Feb 16, 2024
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