Skip to content

Commit 2ed7779

Browse files
committed
[clang][cas] Update tests for stable/20221013 branch
* Framework autolink is not automatic unless the binary exists * Inputs are sorted by name in dep scan
1 parent d5226b1 commit 2ed7779

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

clang/test/ClangScanDeps/modules-include-tree-exports.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
// RUN: %deps-to-rsp %t/deps.json --module-name ExportGlobalWildcard > %t/ExportGlobalWildcard.rsp
1717
// RUN: %deps-to-rsp %t/deps.json --module-name NoExports > %t/NoExports.rsp
1818
// RUN: %deps-to-rsp %t/deps.json --tu-index 0 > %t/tu_export_explicit.rsp
19-
// RUN: %deps-to-rsp %t/deps.json --tu-index 1 > %t/tu_export_wildcard.rsp
20-
// RUN: %deps-to-rsp %t/deps.json --tu-index 2 > %t/tu_export_global_wildcard.rsp
21-
// RUN: %deps-to-rsp %t/deps.json --tu-index 3 > %t/tu_export_none.rsp
19+
// RUN: %deps-to-rsp %t/deps.json --tu-index 1 > %t/tu_export_global_wildcard.rsp
20+
// RUN: %deps-to-rsp %t/deps.json --tu-index 2 > %t/tu_export_none.rsp
21+
// RUN: %deps-to-rsp %t/deps.json --tu-index 3 > %t/tu_export_wildcard.rsp
2222

2323
// Build
2424
// RUN: %clang @%t/TwoSubs.rsp

clang/test/ClangScanDeps/modules-include-tree-implementation-private.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727
// CHECK: 5:1 (Module for visibility only) Mod_Private
2828
// CHECK: Module Map:
2929
// CHECK: Mod (framework)
30-
// CHECK: link Mod (framework)
3130
// CHECK: Mod_Private (framework)
32-
// CHECK: link Mod_Private (framework)
3331

3432
// CHECK: Files:
3533
// CHECK: [[PREFIX]]/tu.m llvmcas://

clang/test/ClangScanDeps/modules-include-tree-inferred.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
// CHECK: Submodule: Mod
2323
// CHECK: Module Map:
2424
// CHECK: Mod (framework)
25-
// CHECK: link Mod (framework)
2625
// CHECK: Files:
2726
// CHECK-NOT: [[PREFIX]]/module.modulemap
2827
// CHECK: [[PREFIX]]/Mod.framework/Headers/Mod.h llvmcas://

clang/test/ClangScanDeps/modules-include-tree-vfsoverlay.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
// CHECK: Submodule: A
3232
// CHECK: Module Map:
3333
// CHECK: A (framework)
34-
// CHECK: link A (framework)
3534
// CHECK: Files:
3635
// CHECK-NOT: modulemap
3736
// CHECK: [[PREFIX]]/elsewhere2/A.h llvmcas://

0 commit comments

Comments
 (0)