aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/Action.h
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-11-07 02:08:14 +0000
committerSteve Naroff <snaroff@apple.com>2009-11-07 02:08:14 +0000
commitc4df6d2c05c647a6a5770ba0c749782b6c023a3a (patch)
treebfbd5de6fd0b749e414c632f0cf0131a95214307 /include/clang/Parse/Action.h
parentba578cb7b25357c479b2b5530546a9f153a525c0 (diff)
Add basic code completion support for ObjC messages.
Still a work in progress... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r--include/clang/Parse/Action.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h
index 657a14fff0..929e18ba01 100644
--- a/include/clang/Parse/Action.h
+++ b/include/clang/Parse/Action.h
@@ -2329,6 +2329,26 @@ public:
///
/// \param S the scope in which the operator keyword occurs.
virtual void CodeCompleteObjCProperty(Scope *S, ObjCDeclSpec &ODS) { }
+
+ /// \brief Code completion for an ObjC factory method (from within a message
+ /// expression).
+ ///
+ /// This code completion action is invoked when the code-completion token is
+ /// found after the class name.
+ ///
+ /// \param S the scope in which the message expression occurs.
+ /// \param FName the factory name.
+ virtual void CodeCompleteObjCFactoryMethod(Scope *S, IdentifierInfo *FName){ }
+
+ /// \brief Code completion for an ObjC instance method (from within a message
+ /// expression).
+ ///
+ /// This code completion action is invoked when the code-completion token is
+ /// found after the receiver expression.
+ ///
+ /// \param S the scope in which the operator keyword occurs.
+ /// \param Receiver an expression for the receiver of the message.
+ virtual void CodeCompleteObjCInstanceMethod(Scope *S, ExprTy *Receiver) { }
//@}
};