diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-11-17 23:22:23 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-11-17 23:22:23 +0000 |
| commit | bab2b3c70ff3bdb98d285b33f181e6c8e7c4471e (patch) | |
| tree | 485bd2b6e18694b1d91c8d25e203aa216a9a787b /clang/test/CodeCompletion | |
| parent | a26da8503c817f1c50354b47dc1d19ca8aab095f (diff) | |
| download | bcm5719-llvm-bab2b3c70ff3bdb98d285b33f181e6c8e7c4471e.tar.gz bcm5719-llvm-bab2b3c70ff3bdb98d285b33f181e6c8e7c4471e.zip | |
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.
llvm-svn: 89163
Diffstat (limited to 'clang/test/CodeCompletion')
| -rw-r--r-- | clang/test/CodeCompletion/objc-message.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeCompletion/objc-message.m b/clang/test/CodeCompletion/objc-message.m index aabfcc01874..d16a745b71f 100644 --- a/clang/test/CodeCompletion/objc-message.m +++ b/clang/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 |

