aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/Action.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-18 22:32:06 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-18 22:32:06 +0000
commit322328b8a65ad2e45829eb06d245addb64037f6f (patch)
tree8c29fa7b0aa3f9c85d69912583507e2da5b1900c /include/clang/Parse/Action.h
parent19d70731388c4ed84d9270ddc5b1937218dcf572 (diff)
Code completion for Objective-C @synthesized.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r--include/clang/Parse/Action.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h
index 64d97dc015..3165b0eb2f 100644
--- a/include/clang/Parse/Action.h
+++ b/include/clang/Parse/Action.h
@@ -2408,6 +2408,24 @@ public:
IdentifierInfo *ClassName) {
}
+ /// \brief Code completion for the property names when synthesizing an
+ /// Objective-C property.
+ ///
+ /// This code completion action is invoked after the @synthesized and after
+ /// each "," in an @synthesized definition.
+ virtual void CodeCompleteObjCPropertySynthesize(Scope *S,
+ DeclPtrTy ObjCImpDecl) {
+ }
+
+ /// \brief Code completion for the instance variable name that should
+ /// follow an '=' when synthesizing an Objective-C property.
+ ///
+ /// This code completion action is invoked after each '=' that occurs within
+ /// an @synthesized definition.
+ virtual void CodeCompleteObjCPropertySynthesizeIvar(Scope *S,
+ IdentifierInfo *PropertyName,
+ DeclPtrTy ObjCImpDecl) {
+ }
//@}
};