mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 01:50:12 +01:00
clover/llvm: Use std::nullopt already with LLVM 16
llvm::None is already deprecated and defined as std::nullopt in LLVM 16. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718>
This commit is contained in:
parent
4ee1572008
commit
dce97f090a
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ namespace {
|
|||
|
||||
std::unique_ptr<TargetMachine> tm {
|
||||
t->createTargetMachine(target.triple, target.cpu, "", {},
|
||||
#if LLVM_VERSION_MAJOR >= 17
|
||||
#if LLVM_VERSION_MAJOR >= 16
|
||||
std::nullopt, std::nullopt,
|
||||
#else
|
||||
::llvm::None, ::llvm::None,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue