summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-07-08 23:20:03 +0000
committerDouglas Gregor <dgregor@apple.com>2010-07-08 23:20:03 +0000
commit95887f9c5bfc743e1dbc1352ba34bb7f3c3410ea (patch)
tree71de166aac30639db4983d5882b5de38e6875043 /clang/lib/Sema/Sema.h
parentcaef9ab03c7a5fa06aeedd22cd0ddd8bd2c09990 (diff)
downloadbcm5719-llvm-95887f9c5bfc743e1dbc1352ba34bb7f3c3410ea.tar.gz
bcm5719-llvm-95887f9c5bfc743e1dbc1352ba34bb7f3c3410ea.zip
Introduce a new code-completion point prior to an identifier in the
selector of an Objective-C method declaration, e.g., given - (int)first:(int)x second:(int)y; this code completion point triggers at the location of "second". It will provide completions that fill out the method declaration for any known method, anywhere in the translation unit. llvm-svn: 107929
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index cbbaa1d64ec..f4f873df2f3 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -4572,6 +4572,12 @@ public:
bool IsInstanceMethod,
TypeTy *ReturnType,
DeclPtrTy IDecl);
+ virtual void CodeCompleteObjCMethodDeclSelector(Scope *S,
+ bool IsInstanceMethod,
+ TypeTy *ReturnType,
+ IdentifierInfo **SelIdents,
+ unsigned NumSelIdents);
+
//@}
//===--------------------------------------------------------------------===//
OpenPOWER on IntegriCloud