summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-19 01:08:35 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-19 01:08:35 +0000
commit1b605f75370e377855aa75c8b123f8ea81480a2b (patch)
tree926e456f3a66eed0c75960a1ebd0aac1a566f6fc /clang/lib/Sema/Sema.h
parent1a139f8fb5bd7205e0bcf3083a096a4d2bdff658 (diff)
downloadbcm5719-llvm-1b605f75370e377855aa75c8b123f8ea81480a2b.tar.gz
bcm5719-llvm-1b605f75370e377855aa75c8b123f8ea81480a2b.zip
Improve code completion for Objective-C message sends, so that we
provide completion results before each keyword argument, e.g., [foo Method:arg WithArg1:arg1 WithArg2:arg2] We now complete before "WithArg1" and before "WithArg2", in addition to completing before "Method". llvm-svn: 89290
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 96f671535cf..0da822ec2e0 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -3648,8 +3648,12 @@ public:
virtual void CodeCompleteObjCPropertyFlags(Scope *S, ObjCDeclSpec &ODS);
virtual void CodeCompleteObjCClassMessage(Scope *S, IdentifierInfo *FName,
- SourceLocation FNameLoc);
- virtual void CodeCompleteObjCInstanceMessage(Scope *S, ExprTy *Receiver);
+ SourceLocation FNameLoc,
+ IdentifierInfo **SelIdents,
+ unsigned NumSelIdents);
+ virtual void CodeCompleteObjCInstanceMessage(Scope *S, ExprTy *Receiver,
+ IdentifierInfo **SelIdents,
+ unsigned NumSelIdents);
virtual void CodeCompleteObjCProtocolReferences(IdentifierLocPair *Protocols,
unsigned NumProtocols);
virtual void CodeCompleteObjCProtocolDecl(Scope *S);
OpenPOWER on IntegriCloud