Skip to content

Commit 50e3dc4

Browse files
jamieschmeisersivan-shani
authored andcommitted
[clang][modules][deps]Remove -F option from test for clang-scan-deps (llvm#141614)
Remove the redundant -F option from test because not all platforms support -F, which is a g++ extension. The option is unnecessary because all files in the test have paths specified.
1 parent 7dc559a commit 50e3dc4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/test/ClangScanDeps/modules-pch-common-stale.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module mod_tu_extra { header "mod_tu_extra.h" }
2727

2828
// Clean: scan the PCH.
2929
// RUN: clang-scan-deps -format experimental-full -o %t/deps_pch_clean.json -- \
30-
// RUN: %clang -x c-header %t/prefix.h -o %t/prefix.h.pch -F %t \
30+
// RUN: %clang -x c-header %t/prefix.h -o %t/prefix.h.pch \
3131
// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache
3232

3333
// Clean: build the PCH.
@@ -38,7 +38,7 @@ module mod_tu_extra { header "mod_tu_extra.h" }
3838

3939
// Clean: scan the TU.
4040
// RUN: clang-scan-deps -format experimental-full -o %t/deps_tu_clean.json -- \
41-
// RUN: %clang -c %t/tu.c -o %t/tu.o -include %t/prefix.h -F %t \
41+
// RUN: %clang -c %t/tu.c -o %t/tu.o -include %t/prefix.h \
4242
// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache
4343
// RUN: cat %t/deps_tu_clean.json | sed 's:\\\\\?:/:g' | FileCheck %s --check-prefix=CHECK-TU-CLEAN -DPREFIX=%/t
4444
// CHECK-TU-CLEAN: {
@@ -94,7 +94,7 @@ module mod_tu_extra { header "mod_tu_extra.h" }
9494

9595
// Incremental: scan the PCH.
9696
// RUN: clang-scan-deps -format experimental-full -o %t/deps_pch_incremental.json -- \
97-
// RUN: %clang -x c-header %t/prefix.h -o %t/prefix.h.pch -F %t \
97+
// RUN: %clang -x c-header %t/prefix.h -o %t/prefix.h.pch \
9898
// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache
9999

100100
// Incremental: build the PCH.
@@ -107,7 +107,7 @@ module mod_tu_extra { header "mod_tu_extra.h" }
107107
// TU that depend on modules imported from the PCH and discover the
108108
// new dependency on 'mod_tu_extra'.
109109
// RUN: clang-scan-deps -format experimental-full -o %t/deps_tu_incremental.json -- \
110-
// RUN: %clang -c %t/tu.c -o %t/tu.o -include %t/prefix.h -F %t \
110+
// RUN: %clang -c %t/tu.c -o %t/tu.o -include %t/prefix.h \
111111
// RUN: -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache
112112
// RUN: cat %t/deps_tu_incremental.json | sed 's:\\\\\?:/:g' | FileCheck %s --check-prefix=CHECK-TU-INCREMENTAL -DPREFIX=%/t
113113
// CHECK-TU-INCREMENTAL: {

0 commit comments

Comments
 (0)