llvm-project/clang/test
Martin Storsjö 64bc44f5dd [llvm-rc] Run clang to preprocess input files
Allow opting out from preprocessing with a command line argument.

Update tests to pass -no-preprocess to make it not try to use clang
(which isn't a build level dependency of llvm-rc), but add a test that
does preprocessing under clang/test/Preprocessor.

Update a few options to allow them both joined (as -DFOO) and separate
(-D BR), as rc.exe allows both forms of them.

With the verbose flag set, this prints the preprocessing command
used (which differs from what rc.exe does).

Tests under llvm/test/tools/llvm-rc only test constructing the
preprocessor commands, while tests under clang/test/Preprocessor test
actually running the preprocessor.

Differential Revision: https://reviews.llvm.org/D100755
2021-04-21 11:50:10 +03:00
..
APINotes
ARCMT
AST [clang][parser] Set source ranges for GNU-style attributes 2021-04-04 07:59:22 +02:00
ASTMerge Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -08:00
Analysis [analyzer] Fix false positives in inner pointer checker (PR49628) 2021-04-08 20:30:12 +03:00
CXX Implement WG21 P2156R1/WG14 N2557 on duplicate attributes 2021-04-13 12:30:04 -04:00
ClangScanDeps Revert "[clang-scan-deps] Add support for clang-cl" 2021-04-19 17:45:18 -04:00
CodeCompletion [CodeCompletion] Avoid spurious signature help for init-list args 2021-03-16 12:46:40 +01:00
CodeGen [RISCV][Clang] Add RVV AMO builtins 2021-04-21 01:48:02 -07:00
CodeGenCUDA [CUDA][HIP] Allow non-ODR use of host var in device 2021-04-19 14:45:24 -04:00
CodeGenCXX [C++, test] Fix typo in NSS* vars 2021-04-20 12:07:41 +01:00
CodeGenCoroutines Revert "[Coroutines] Set presplit attribute in Clang instead of CoroEarly pass" 2021-04-18 17:22:28 -07:00
CodeGenHIP
CodeGenObjC [ObjC] Add a command line flag that disables recognition of objc_direct for testability 2021-04-06 11:17:01 -04:00
CodeGenObjCXX Temporairly revert "[CGCall] Annotate `this` argument with alignment" 2021-04-10 10:43:16 +03:00
CodeGenOpenCL [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
CodeGenOpenCLCXX [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
CodeGenSYCL [NFC][SYCL] Drop idle triple component from regression tests. 2021-04-13 08:00:21 +03: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 Revert "[AMDGPU][OpenMP] Add amdgpu-arch tool to list AMD GPUs installed" 2021-04-21 08:05:38 +00:00
FixIt [clang] Add fixit for Wreorder-ctor 2021-03-24 19:22:53 +00:00
Format [test] Use host platform specific error message substitution in lit tests - continued 2021-02-03 09:53:22 -05:00
Frontend Fix test/Frontend/print-header-includes.c 2021-04-19 15:39:09 +02:00
Headers [CUDA][HIP] Allow non-ODR use of host var in device 2021-04-19 14:45:24 -04:00
Import
Index [index] Improve macro indexing support 2021-04-06 09:12:14 -07: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 [C++2b] Support size_t literals 2021-03-31 13:36:23 +00:00
Misc [NewPM] Cleanup IR printing instrumentation 2021-04-15 09:50:55 -07:00
Modules [ASTReader] Only mark module out of date if not already compiled 2021-04-16 17:57:03 -07:00
OpenMP [OPENMP]Fix PR49115: Incorrect results for scan directive. 2021-04-16 06:25:35 -07:00
PCH Make iteration over the DeclContext::lookup_result safe. 2021-03-17 08:59:04 +00:00
Parser Fix potential infinite loop with malformed attribute syntax 2021-04-15 10:47:32 -04:00
Preprocessor [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
Profile [PGO, test] Fix typo in FileCheck var 2021-04-03 08:44:46 +01:00
Refactor
Rewriter
Sema Implemented [[clang::musttail]] attribute for guaranteed tail calls. 2021-04-15 17:12:21 -07:00
SemaCUDA [CUDA][HIP] Allow non-ODR use of host var in device 2021-04-19 14:45:24 -04:00
SemaCXX [clang][parser] Unify rejecting (non) decl stmts with gnu attributes 2021-04-19 12:43:55 +02:00
SemaObjC [-Wcompletion-handler] Don't recognize init methods as conventional 2021-04-07 13:50:01 +03:00
SemaObjCXX [SemaObjC] Fix a -Wbridge-cast false-positive 2021-04-05 11:41:40 -04:00
SemaOpenCL [OpenCL] Accept .rgba in OpenCL 3.0 2021-04-12 09:30:06 +01:00
SemaOpenCLCXX [OpenCL] Fix AST check in address-space-templates test 2021-03-26 14:24:30 +00:00
SemaSYCL [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
SemaTemplate PR49724: Fix deduction of null member pointers. 2021-03-25 13:47:22 -07:00
TableGen Fix test expectations for %diff documentation. 2021-03-30 17:48:08 -07: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 Temporairly revert "[CGCall] Annotate `this` argument with alignment" 2021-04-10 10:43:16 +03:00
.clang-format
CMakeLists.txt [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03: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