llvm-project/clang/test
Ella Ma 1d8fc086ae [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
2021-03-24 11:32:57 +01:00
..
APINotes
ARCMT
AST [SystemZ][z/OS] fix lit test related to alignment 2021-03-23 13:15:19 -04:00
ASTMerge Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -08:00
Analysis [analyzer][solver] Fix infeasible constraints (PR49642) 2021-03-22 11:02:02 +03:00
CXX [C++20] [P1825] Fix bugs with implicit-move from variables of reference type. 2021-03-23 14:12:06 -04:00
ClangScanDeps Revert "[clang-scan-deps] Support clang-cl" 2020-12-14 13:32:38 -05:00
CodeCompletion [CodeCompletion] Avoid spurious signature help for init-list args 2021-03-16 12:46:40 +01:00
CodeGen [PowerPC] Make altivec.h work with AIX which has no __int128 2021-03-24 00:35:51 -05:00
CodeGenCUDA Fix test cxx-call-kernel.cpp 2021-03-01 17:10:53 -05:00
CodeGenCXX [clang][CodeGen] Lower Likelihood attributes to @llvm.expect intrin instead of branch weights 2021-03-21 22:50:21 +03:00
CodeGenCoroutines [test] Move coro-retcon-unreachable.ll into llvm/test 2021-01-07 14:06:01 -08:00
CodeGenHIP
CodeGenObjC [clang][parser] Don't prohibit attributes on objc @try/@throw 2021-03-23 15:26:25 +01:00
CodeGenObjCXX [ObjC] Encode pointers to C++ classes as "^v" if the encoded string 2021-02-18 09:38:26 -08:00
CodeGenOpenCL [CGAtomic] Lift stronger requirements on cmpxch and support acquire failure mode 2021-03-23 16:45:37 -07:00
CodeGenOpenCLCXX [OpenCL] Create VoidPtrTy with generic AS in C++ for OpenCL mode 2021-02-17 12:18:46 +03:00
CodeGenSYCL [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
Coverage
CoverageMapping Revert "Revert "[Coverage] Emit gap region between statements if first statements contains terminate statements."" 2021-03-04 11:52:43 -08:00
Driver [test] Add --sysroot= to make gcc-toolchain.cpp stable 2021-03-23 13:32:30 -07:00
FixIt [Sema] Fix diagnostics for one-byte length modifier 2021-03-09 16:56:20 +01:00
Format [test] Use host platform specific error message substitution in lit tests - continued 2021-02-03 09:53:22 -05:00
Frontend [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
Headers [Clang][RISCV] Add custom TableGen backend for riscv-vector intrinsics. 2021-03-10 18:43:43 -08:00
Import clang-import-test: Clean up error output for files that cannot be found 2020-12-11 17:07:58 -08:00
Index [AIX][XCOFF] Fixed the test case which failed at aix OS because enable -mignore-xcoff-visibility by default. 2021-03-15 17:33:02 -04:00
Integration
InterfaceStubs [test] Make ELF tests less reliant on the lexicographical order of non-local symbols 2021-02-13 01:01:06 -08:00
Layout [SystemZ][z/OS] fix lit test related to alignment 2021-03-23 13:15:19 -04:00
Lexer Add support for digit separators in C2x. 2021-03-12 07:21:03 -05:00
Misc [DebugInfo] Add an attribute to force type info to be emitted for types that are required to be complete. 2021-03-12 12:30:01 -08:00
Modules Support #__private_macro and #__public_macro in local submodule 2021-03-23 16:54:28 -07:00
OpenMP [WoA][MSVC] Use default linker setting in MSVC-compatible driver [take 2] 2021-03-19 13:38:03 +00:00
PCH Make iteration over the DeclContext::lookup_result safe. 2021-03-17 08:59:04 +00:00
Parser Automate common diagnostic checking for statement attributes 2021-03-19 08:35:38 -04:00
Preprocessor [WebAssembly] Remove unimplemented-simd target feature 2021-03-18 10:23:12 -07:00
Profile [Driver] Rename -fprofile-{prefix-map,compilation-dir} to -fcoverage-{prefix-map,compilation-dir} 2021-02-25 21:40:12 -08:00
Refactor
Rewriter
Sema Automate common diagnostic checking for statement attributes 2021-03-19 08:35:38 -04:00
SemaCUDA [CUDA][HIP] Support accessing static device variable in host code for -fgpu-rdc 2021-02-24 18:23:45 -05:00
SemaCXX [clang] Fix a crash when CTAD fails 2021-03-23 13:03:30 +01:00
SemaObjC [-Wcalled-once-parameter] Fix false positives for cleanup attr 2021-03-18 12:32:16 +03:00
SemaObjCXX [Sema] Add some basic lambda capture fix-its 2021-03-11 13:46:25 +00:00
SemaOpenCL [OpenCL] Use -fdeclare-opencl-builtins for some tests 2021-03-22 09:46:28 +00:00
SemaOpenCLCXX [OpenCL] Support template parameters for as_type 2021-03-22 11:59:05 +00:00
SemaSYCL [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
SemaTemplate Fix miscomputation of dependence for elaborated types that are 2021-02-04 13:14:15 -08:00
TableGen Detect diagnostic groups that are defined in multiple 'def's. 2021-02-18 17:19:01 -08:00
Templight
Tooling [Syntax] Add syntax-tree-dump in clang-check. 2021-01-29 14:10:27 +01:00
Unit Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
VFS [VFS] Add support to RedirectingFileSystem for mapping a virtual directory to one in the external FS. 2021-02-02 14:56:17 +10:00
clang-rename
utils/update_cc_test_checks [Utils] Support lit-like substitutions in update_cc_test_checks 2021-03-16 10:36:22 -07:00
.clang-format
CMakeLists.txt [clang] Add llvm-strip to test dependencies 2021-01-09 11:57:27 -08:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [clang][lit] Allow test cases to use the compiler that are used to compile Clang 2021-03-24 11:32:57 +01:00
lit.site.cfg.py.in [clang][lit] Allow test cases to use the compiler that are used to compile Clang 2021-03-24 11:32:57 +01:00
make_test_dirs.pl Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00