mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
clc: remove code supporting pre llvm-10
we require llvm-10+ already anyway, see meson.build:1726 Signed-off-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26871>
This commit is contained in:
parent
99c69e624b
commit
3ee6339206
1 changed files with 0 additions and 5 deletions
|
|
@ -806,12 +806,7 @@ clc_compile_to_llvm_module(LLVMContext &llvm_ctx,
|
|||
clang_opts.insert(clang_opts.end(), args->args, args->args + args->num_args);
|
||||
|
||||
if (!clang::CompilerInvocation::CreateFromArgs(c->getInvocation(),
|
||||
#if LLVM_VERSION_MAJOR >= 10
|
||||
clang_opts,
|
||||
#else
|
||||
clang_opts.data(),
|
||||
clang_opts.data() + clang_opts.size(),
|
||||
#endif
|
||||
diag)) {
|
||||
clc_error(logger, "Couldn't create Clang invocation.\n");
|
||||
return {};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue