diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-13 21:24:21 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-13 21:24:21 +0000 |
commit | b6ac2451bfed36206c5cec7217372c4299f67f2b (patch) | |
tree | 00c95577e5180cb2634a63e9a83190052f09649a /include/clang/Parse/Action.h | |
parent | 53b4810bad9385fbc65f045711585517f99fd31b (diff) |
Whenever completing ordinary names for an Objective-C source, also
provide completions for @ keywords. Previously, we only provided
@-completions after an @ was actually typed, which is useful but
probably not the common case.
Also, make sure a few Objective-C 2.0 completions only show up when
Objective-C 2.0 support is enabled (the default).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/Action.h')
-rw-r--r-- | include/clang/Parse/Action.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h index 292a2df91c..4859c3cccb 100644 --- a/include/clang/Parse/Action.h +++ b/include/clang/Parse/Action.h @@ -2382,6 +2382,13 @@ public: CCC_Namespace, /// \brief Code completion occurs within a class, struct, or union. CCC_Class, + /// \brief Code completion occurs within an Objective-C interface, protocol, + /// or category. + CCC_ObjCInterface, + /// \brief Code completion occurs within an Objective-C implementation or + /// category implementation + CCC_ObjCImplementation, + /// \brief Code completion occurs within /// \brief Code completion occurs following one or more template /// headers. CCC_Template, |