aboutsummaryrefslogtreecommitdiff
path: root/test/CodeCompletion
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-17 23:22:23 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-17 23:22:23 +0000
commit36ecb0461977afeb8620d773e938ab4719718a5f (patch)
tree091ff950ce8054604cd766d6b2d8860f6569d5ae /test/CodeCompletion
parentc09cba67d0ad01e53e0fed07322e95dd281bcfd9 (diff)
Refactor code-completion support for message sends, collecting the
code to find and add Objective-C methods (starting at an ObjCContainerDecl) into a single, static function. Also, make sure that we search into the implementations of classes and categories to find even more methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion')
-rw-r--r--test/CodeCompletion/objc-message.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeCompletion/objc-message.m b/test/CodeCompletion/objc-message.m
index aabfcc0187..d16a745b71 100644
--- a/test/CodeCompletion/objc-message.m
+++ b/test/CodeCompletion/objc-message.m
@@ -25,10 +25,10 @@ void func() {
}
// RUN: clang-cc -fsyntax-only -code-completion-at=%s:23:19 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
// CHECK-CC1: categoryClassMethod : 0
+// CHECK-CC1: classMethod1:withKeyword: : 0
// CHECK-CC1: classMethod2 : 0
// CHECK-CC1: new : 0
// CHECK-CC1: protocolClassMethod : 0
-// CHECK-CC1: classMethod1:withKeyword: : 0
// RUN: clang-cc -fsyntax-only -code-completion-at=%s:24:8 %s -o - | FileCheck -check-prefix=CHECK-CC2 %s
// CHECK-CC2: categoryInstanceMethod : 0
// CHECK-CC2: instanceMethod1 : 0