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>
(cherry picked from commit d09a7132d8)
This commit is contained in:
Lone_Wolf 2023-04-27 19:44:55 +02:00 committed by Dylan Baker
parent 9743eeabc7
commit 6737012fbf
2 changed files with 4 additions and 1 deletions

View file

@ -8504,7 +8504,7 @@
"description": "clc: Add clangASTMatchers to fix static llvm build of microsoft-clc with LLVM 16+",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -1962,6 +1962,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