Content-Length: 248919 | pFad | https://togithub.com/numba/llvmlite/issues/596

5F83 Use std::make_unique on LLVM 10 by mgorny · Pull Request #596 · numba/llvmlite · GitHub
Skip to content

Use std::make_unique on LLVM 10 #596

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

Closed
wants to merge 1 commit into from

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Jun 11, 2020

LLVM 10 removes llvm::make_unique in favor of std::make_unique.
However, this requires C++14 and is therefore unsuitable for LLVM 9
that forces -std=c++11. Update the code to use both conditionally.
This fixes all issues with LLVM 10.

LLVM 10 removes llvm::make_unique in favor of std::make_unique.
However, this requires C++14 and is therefore unsuitable for LLVM 9
that forces -std=c++11.  Update the code to use both conditionally.
This fixes all issues with LLVM 10.
@esc
Copy link
Member

esc commented Jun 17, 2020

@mgorny thanks very much for your contribution. I cherry-picked the commit into this PR here: #599

@esc
Copy link
Member

esc commented Jun 18, 2020

I will close this issue now, as the suggested change has been cherry-picked into another PR which is likely to make it into master(main) soon.

@esc esc closed this Jun 18, 2020
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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://togithub.com/numba/llvmlite/issues/596

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy