Skip to content

Commit 06e0ea2

Browse files
compnerdgottesmm
authored andcommitted
test: update test for clang changes
SVN r261372 flattened the -fmodule-implementation-of and -fmodule-name options. Update the test accordingly.
1 parent 0bc44a1 commit 06e0ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IDE/print_clang_header.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
// RUN: echo '#include <Foo/header-to-print.h>' > %t.framework.m
1717
// RUN: sed -e "s:INPUT_DIR:%S/Inputs/print_clang_header:g" -e "s:OUT_DIR:%t:g" %S/Inputs/print_clang_header/Foo-vfsoverlay.yaml > %t.yaml
18-
// RUN: %target-swift-ide-test -source-filename %s -print-header -header-to-print %S/Inputs/print_clang_header/header-to-print.h -print-regular-comments --cc-args %target-cc-options -isysroot %clang-importer-sdk-path -fsyntax-only %t.framework.m -F %t -ivfsoverlay %t.yaml -Xclang -fmodule-implementation-of -Xclang Foo > %t.framework.txt
18+
// RUN: %target-swift-ide-test -source-filename %s -print-header -header-to-print %S/Inputs/print_clang_header/header-to-print.h -print-regular-comments --cc-args %target-cc-options -isysroot %clang-importer-sdk-path -fsyntax-only %t.framework.m -F %t -ivfsoverlay %t.yaml -Xclang -fmodule-name=Foo > %t.framework.txt
1919
// RUN: diff -u %S/Inputs/print_clang_header/header-to-print.h.printed.txt %t.framework.txt
2020

2121
// Test header interface printing from a clang module, with the preprocessing record enabled before the CC args.

0 commit comments

Comments
 (0)