mesa/src/gallium/frontends/clover
Kai Wasserbäch e832d6a1bb fix: clover/llvm: replace llvm::None with std::nullopt for LLVM 17+
llvm::None was deprecated and builds started failing with

  error: ‘None’ is not a member of ‘llvm’

Instead of using the temporarily available include in ADT which would
add a deprecation warning to the build, directly replace llvm::None with
the recommended std::nullopt

This change takes only effect with LLVM 17 or newer.

Reference: d4f38ef288/llvm/include/llvm/ADT/None.h
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21125>
2023-02-15 12:00:06 +00:00
..
api clover: Fixes -Wundef in memory.cpp 2022-11-24 04:33:07 +00:00
core clover: test for nir fp64 lowering options for cl_khr_fp64 2022-11-28 11:48:42 +00:00
llvm fix: clover/llvm: replace llvm::None with std::nullopt for LLVM 17+ 2023-02-15 12:00:06 +00:00
nir nir/builder: Drop nir_i2i and nir_u2u in favor of nir_x2xN 2022-12-01 01:10:12 +00:00
spirv clover: Reserve vector memory in make_text_section 2023-02-14 12:59:44 +00:00
util clover: std::result_of is deprecated in c++17 and removed in c++20 2021-09-27 18:50:09 +00:00
meson.build clover: test for nir fp64 lowering options for cl_khr_fp64 2022-11-28 11:48:42 +00:00