[PATCH] D118986: [clang][deps] Return the whole TU command line
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 4 04:48:47 PST 2022
jansvoboda11 added inline comments.
================
Comment at: clang/test/ClangScanDeps/modules-inferred-explicit-build.m:15
// RUN: %clang @%t.system.cc1.rsp -pedantic -Werror
-// RUN: %clang -x objective-c -fsyntax-only %t.dir/modules_cdb_input.cpp \
-// RUN: -F%S/Inputs/frameworks -fmodules -fimplicit-module-maps \
-// RUN: -pedantic -Werror @%t.tu.rsp
+// RUN: %clang @%t.tu.rsp -pedantic -Werror -Wno-unused-command-line-argument
----------------
This patch will make it possible to strip out `-fmodules-cache-path=`, allowing us to remove `-Wno-unused-command-line-argument` in this test. Note that previously, we needed to strip the argument ourselves manually to get the same effect.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118986/new/
https://reviews.llvm.org/D118986
More information about the cfe-commits
mailing list