File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -734,10 +734,11 @@ namespace {
734
734
" -working-directory=" ,
735
735
" -working-directory" };
736
736
737
- constexpr std::array<std::string_view, 15 >
737
+ constexpr std::array<std::string_view, 16 >
738
738
knownClangDependencyIgnorablePrefiexes = {" -I" ,
739
739
" -F" ,
740
740
" -fmodule-map-file=" ,
741
+ " -ffile-compilation-dir" ,
741
742
" -iquote" ,
742
743
" -idirafter" ,
743
744
" -iframeworkwithsysroot" ,
Original file line number Diff line number Diff line change 6
6
7
7
// RUN: sed -e "s|OUT_DIR|%t/redirects|g" -e "s|IN_DIR|%S/Inputs/CHeaders|g" %t/overlay_template.yaml > %t/overlay.yaml
8
8
9
- // RUN: %target-swift-frontend -scan-dependencies -module-load-mode prefer-interface -module-cache-path %t/module-cache %t/test.swift -o %t/deps.json -I %S/Inputs/CHeaders -I %S/Inputs/Swift -disable-implicit-concurrency-module-import -disable-implicit-string-processing-module-import -Xcc -ivfsoverlay -Xcc %t/overlay.yaml
9
+ // RUN: %target-swift-frontend -scan-dependencies -module-load-mode prefer-interface -module-cache-path %t/module-cache %t/test.swift -o %t/deps.json -I %S/Inputs/CHeaders -I %S/Inputs/Swift -disable-implicit-concurrency-module-import -disable-implicit-string-processing-module-import -file-compilation-dir %t - Xcc -ivfsoverlay -Xcc %t/overlay.yaml
10
10
// RUN: %validate-json %t/deps.json | %FileCheck %s
11
11
12
12
//--- overlay_template.yaml
@@ -54,6 +54,7 @@ import F
54
54
// CHECK: "-compile-module-from-interface"
55
55
// CHECK-NOT: "-ivfsoverlay",
56
56
// CHECK-NOT: "{{.*}}{{/|\\}}preserve_used_vfs.swift.tmp{{/|\\}}overlay.yaml",
57
+ // CHECK-NOT: "-ffile-compilation-dir={{.*}}"
57
58
// CHECK: ],
58
59
59
60
/// --------Clang module F
You can’t perform that action at this time.
0 commit comments