[llvm] [lit] Move %clang_dxc substitution from clang/test
authorMichał Górny <mgorny@gentoo.org>
Thu, 29 Sep 2022 18:58:43 +0000 (20:58 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 29 Sep 2022 18:59:00 +0000 (20:59 +0200)
commit74085ebfb68e067ba6c21722ac02d2ffbb42a00c
tree0aa0735bb62838254879a3db4eeb33e31fa0f208
parent063e17d8b04b41cd8bd174aebb6603eb1a76d34a
[llvm] [lit] Move %clang_dxc substitution from clang/test

Move the `%clang_dxc` substitution from local definition in clang/test
to lit's `llvm/config.py` module where all other driver definitions
are found.  This improves consistency and makes it easier to control
global clang options.

Differential Revision: https://reviews.llvm.org/D134871
clang/test/lit.cfg.py
llvm/utils/lit/lit/llvm/config.py