clc: Add clangASTMatchers to fix static llvm build of microsoft-clc with LLVM 16+

Cc: mesa-stable

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22741>
This commit is contained in:
Lone_Wolf
2023-04-27 19:44:55 +02:00
committed by Marge Bot
parent f53e5efad7
commit d09a7132d8

View File

@@ -1765,6 +1765,9 @@ if with_clc
if dep_llvm.version().version_compare('>= 15.0')
clang_modules += 'clangSupport'
endif
if dep_llvm.version().version_compare('>= 16.0')
clang_modules += 'clangASTMatchers'
endif
dep_clang = []
foreach m : clang_modules