// RUN: %target-swift-ide-test(mock-sdk: %clang-importer-sdk) -code-completion -source-filename %s -code-completion-token=TOP -code-completion-comments -code-completion-sort-by-name \ // RUN: -import-objc-header %S/Inputs/bridge.h -I %S/Inputs/somemod1 -I %S/Inputs/somemod2 | %FileCheck %s -check-prefix=CHECK-TOP // RUN: %target-swift-ide-test(mock-sdk: %clang-importer-sdk) -code-completion -source-filename %s -code-completion-token=TOP -code-completion-comments -code-completion-sort-by-name \ // RUN: -import-objc-header %S/Inputs/bridge.h -pch-output-dir %t.pch -I %S/Inputs/somemod1 -I %S/Inputs/somemod2 | %FileCheck %s -check-prefix=CHECK-TOP // REQUIRES: objc_interop import somemod2 #^TOP^# // CHECK-TOP-LABEL: name=some_func11(); // CHECK-TOP-SAME: briefcomment=some_func11 is cool function.; // CHECK-TOP-SAME: xmlcomment=some_func11c:@F@some_func11func some_func11() some_func11 is cool function.; // CHECK-TOP-SAME: rawcomment=some_func11 is cool function. // CHECK-TOP-LABEL: name=some_func12(); // CHECK-TOP-SAME: briefcomment=some_func12 is cool function.; // CHECK-TOP-SAME: xmlcomment=some_func12c:@F@some_func12func some_func12() some_func12 is cool function.; // CHECK-TOP-SAME: rawcomment=some_func12 is cool function. // CHECK-TOP-LABEL: name=some_func21(); // CHECK-TOP-SAME: briefcomment=some_func21 is cool function.; // CHECK-TOP-SAME: xmlcomment=some_func21c:@F@some_func21func some_func21() some_func21 is cool function.; // CHECK-TOP-SAME: rawcomment=some_func21 is cool function. // CHECK-TOP-LABEL: name=some_func22(); // CHECK-TOP-SAME: briefcomment=some_func22 is cool function.; // CHECK-TOP-SAME: xmlcomment=some_func22c:@F@some_func22func some_func22() some_func22 is cool function.; // CHECK-TOP-SAME: rawcomment=some_func22 is cool function.