clover/llvm: Use std::nullopt already with LLVM 16
authorMichel Dänzer <mdaenzer@redhat.com>
Wed, 26 Apr 2023 09:05:47 +0000 (11:05 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 1 May 2023 14:15:15 +0000 (14:15 +0000)
commitdce97f090a74f6f46df7999601fc16cdabe97782
tree50dc3ad8e1058d27cad036b474b66599fa2f8628
parent4ee15720087d0b76423581aef14a98682c42558f
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>
src/gallium/frontends/clover/llvm/codegen/native.cpp