2012-06-16 02:19:56 +08:00
|
|
|
// Note: the run lines follow all tests, since line/column matter here
|
|
|
|
|
|
|
|
id testCompleteAfterAtSign() {
|
|
|
|
return @"";
|
|
|
|
}
|
|
|
|
|
2013-08-12 20:51:05 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fno-const-strings -o - | FileCheck -check-prefix=CHECK-AT %s
|
2012-06-16 02:19:56 +08:00
|
|
|
// CHECK-AT: COMPLETION: Pattern : [#NSString *#]"<#string#>"
|
2012-07-18 07:24:47 +08:00
|
|
|
// CHECK-AT: COMPLETION: Pattern : [#id#](<#expression#>)
|
|
|
|
// CHECK-AT: COMPLETION: Pattern : [#NSArray *#][<#objects, ...#>]
|
2012-06-16 02:19:56 +08:00
|
|
|
// CHECK-AT: COMPLETION: Pattern : [#char[]#]encode(<#type-name#>)
|
|
|
|
// CHECK-AT: COMPLETION: Pattern : [#Protocol *#]protocol(<#protocol-name#>)
|
|
|
|
// CHECK-AT: COMPLETION: Pattern : [#SEL#]selector(<#selector#>)
|
2012-08-17 13:40:05 +08:00
|
|
|
// CHECK-AT: COMPLETION: Pattern : [#NSDictionary *#]{<#key#>: <#object, ...#>}
|
2012-06-16 02:19:56 +08:00
|
|
|
|
2013-08-12 20:51:05 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -code-completion-patterns -code-completion-at=%s:4:11 %s -fconst-strings -o - | FileCheck -check-prefix=CHECK-CONST-STRINGS %s
|
2012-06-16 02:19:56 +08:00
|
|
|
// CHECK-CONST-STRINGS: COMPLETION: Pattern : [#const char[]#]encode(<#type-name#>)
|