aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorElla Ma <alansnape3058@gmail.com>2021-03-24 11:32:57 +0100
committerBalazs Benics <balazsbenics@sigmatechnology.se>2021-03-24 11:32:57 +0100
commit1d8fc086ae26a1f973b25387b5063f1e801dc0f7 (patch)
treecc923b3e578f5629deffd97c42775d95f1b61435 /clang/lib/Frontend/CompilerInvocation.cpp
parent760f4c2069d53ace13d20424b7209759a9186090 (diff)
downloadllvm-1d8fc086ae26a1f973b25387b5063f1e801dc0f7.zip
llvm-1d8fc086ae26a1f973b25387b5063f1e801dc0f7.tar.gz
llvm-1d8fc086ae26a1f973b25387b5063f1e801dc0f7.tar.bz2
[clang][lit] Allow test cases to use the compiler that are used to compile Clang
Required by D83660. Test cases may want to use the host compiler to compile some mocks for the test case. This patch adds two substitutions `%host_cc` and `%host_cxx` to use the host compilers set via variable `CMAKE_C_COMPILER` and `CMAKE_CXX_COMPILER`. Patch by Ella Ma! Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D98918
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions