diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-29 20:58:47 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-29 20:59:00 +0200 |
commit | 1609a5d7715c06ff52c13af8b20ee64811a8ec7b (patch) | |
tree | 791627fa9a430faedcbe87ef18e62a38b4a93fb2 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 74085ebfb68e067ba6c21722ac02d2ffbb42a00c (diff) | |
download | llvm-1609a5d7715c06ff52c13af8b20ee64811a8ec7b.zip llvm-1609a5d7715c06ff52c13af8b20ee64811a8ec7b.tar.gz llvm-1609a5d7715c06ff52c13af8b20ee64811a8ec7b.tar.bz2 |
[clang] [test] Use %clang_cc1 substitution consistently
Use the `%clang_cc1` substitution consistently across the test suite,
replacing inline `%clang -cc1` invocations, except for one Preprocessor
test where this is causing breakage. This is necessary to ensure that
additional parameters passed via `%clang` do not interfere with `-cc1`
that must always be passed as the first command-line argument.
Remove the additional substitution blocking `%clang_cc1` use in Driver
tests. It has been added in 2013 and was supposed to prevent tests
calling `clang -cc1` from being added to Driver. The state of the test
suite proves that it did not succeed at all.
Differential Revision: https://reviews.llvm.org/D134880
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions