File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 23
23
// Test header interface printing from a clang module, with the preprocessing record enabled by the CC args.
24
24
// 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 -detailed-preprocessing-record > %t.module2.txt
25
25
// RUN: diff -u %S/Inputs/print_clang_header/header-to-print.h.module.printed.txt %t.module2.txt
26
-
27
- // RUN: echo '#include "header-to-print.h"' > %t.i386.m
28
- // 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 -arch i386 -isysroot %clang-importer-sdk-path -fsyntax-only %t.i386.m -I %S/Inputs/print_clang_header > %t.i386.txt
29
- // RUN: diff -u %S/Inputs/print_clang_header/header-to-print.h.printed.txt %t.i386.txt
Original file line number Diff line number Diff line change
1
+ // REQUIRES: OS=macosx
2
+ // FIXME: rdar://problem/19648117 Needs splitting objc parts out
3
+ // XFAIL: linux
4
+
5
+ // RUN: echo '#include "header-to-print.h"' > %t.i386.m
6
+ // 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 -arch i386 -isysroot %clang-importer-sdk-path -fsyntax-only %t.i386.m -I %S/Inputs/print_clang_header > %t.i386.txt
7
+ // RUN: diff -u %S/Inputs/print_clang_header/header-to-print.h.printed.txt %t.i386.txt
Original file line number Diff line number Diff line change 1
- // RUN: %sourcekitd-test -req=interface-gen %S/Inputs/Foo2.swift -- %S/Inputs/Foo2.swift > %t.response
1
+ // RUN: %sourcekitd-test -req=interface-gen %S/Inputs/Foo2.swift -- %S/Inputs/Foo2.swift %mcp_opt %clang-importer-sdk > %t.response
2
2
// RUN: diff -u %s.response %t.response
3
3
4
- // RUN: %sourcekitd-test -req=interface-gen-open %S/Inputs/Foo2.swift -- %S/Inputs/Foo2.swift \
4
+ // RUN: %sourcekitd-test -req=interface-gen-open %S/Inputs/Foo2.swift -- %S/Inputs/Foo2.swift %mcp_opt %clang-importer-sdk \
5
5
// RUN: == -req=cursor -pos=18:49 | FileCheck -check-prefix=CHECK1 %s
6
6
// The cursor points to 'FooOverlayClassBase' inside the list of base classes, see 'gen_swift_source.swift.response'
7
7
Original file line number Diff line number Diff line change 2
2
// RUN: %sourcekitd-test -req=cursor -pos=7:5 %s -- %s | FileCheck %s
3
3
// CHECK: <empty cursor info>
4
4
5
- import Foundation
6
-
7
5
class CameraViewController
8
6
{
9
7
lazy var cameraController : CameraController = CameraController ( delegate: self )
You can’t perform that action at this time.
0 commit comments