diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-18 19:08:43 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-18 19:08:43 +0000 |
commit | 33ced0b8550f3e7169f326944731ee02e9338659 (patch) | |
tree | bf0f8e833f1101d048cec2758baff0e8c7c79e8a /include/clang/Parse/Action.h | |
parent | 6d60ca9c5015a7e7eceab31bed24425aeb47db67 (diff) |
Implement code completion for Objective-C category names in @interface
and @implementation declarations.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r-- | include/clang/Parse/Action.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index 62f7221a88..64d97dc015 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -2389,6 +2389,25 @@ public: /// \brief Code completion for an Objective-C implementation, after the /// @implementation but before any identifier. virtual void CodeCompleteObjCImplementationDecl(Scope *S) { } + + /// \brief Code completion for the category name in an Objective-C interface + /// declaration. + /// + /// This code completion action is invoked after the '(' that indicates + /// a category name within an Objective-C interface declaration. + virtual void CodeCompleteObjCInterfaceCategory(Scope *S, + IdentifierInfo *ClassName) { + } + + /// \brief Code completion for the category name in an Objective-C category + /// implementation. + /// + /// This code completion action is invoked after the '(' that indicates + /// the category name within an Objective-C category implementation. + virtual void CodeCompleteObjCImplementationCategory(Scope *S, + IdentifierInfo *ClassName) { + } + //@} }; |