8000 llvm::Optional not found · Issue #49 · hdoc/hdoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

llvm::Optional not found #49

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

Open
jhidding opened this issue Sep 13, 2023 · 0 comments
Open

llvm::Optional not found #49

jhidding opened this issue Sep 13, 2023 · 0 comments

Comments

@jhidding
Copy link

Building on LLVM 16 on Fedora 38, the compiler complains about the use of llvm::Optional and llvm::None in src/frontend/Frontend.cpp. I was able to fix it by replacing those with std::optional and std::nullopt and adding #include <optional> at the top.

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

No branches or pull requests

1 participant
0